≡ Menu

nas server

Synology Nas: Run Fsck To Check and Repair a Linux File System

I own a Linux powered Synology dedicated Network Attached Storage (NAS) server for my home office use. How do I run fsck on Synology DiskStation that offers RAID storage using Linux command line options over an ssh session?
[click to continue…]

Linux: Configure and Control APC SmartUPS During a Power Failure

My Linux nas server connected to APC SmartUPS using usb cable and I would like to detect a power failure. If power is not restored my server must shutdown when the battery is exhausted. How do I configure and use my APC SmartUPS under Debina / Ubuntu / RHEL / CentOS / Fedora / Scientific Linux operating system for power management?
[click to continue…]

Mac Os X: Mount NFS Share / Set an NFS Client

How do I access my enterprise NAS server by mounting NFS filesystem onto my Mac OS X based system using GUI and command line based tools?
[click to continue…]

Linux / UNIX: Command For Executing a Shell Script

How do I execute a script under UNIX or Linux like operating system using command prompt?
[click to continue…]

Freebsd Mount a NAS via SMB / CIFS

Q. I want to use our NAS server to store backups. Our NAS supports FTP and CIFS / SMB sharing technology. How do I mount and store files on NAS using FreeBSD? How do I automate entire procedure using a shell script? Is that doable? If so, what's the easiest solution ftp or CIFS?
[click to continue…]

Linux / UNIX: Cannot Preserve Ownership Error when Files are Moved or Copied

Q. I’m using CentOS Linux. I’m getting an error - Cannot Preserve Ownership, when I try to copy files from Linux ext3 to FAT32 or files moved to an NFS NAS server mount point. How do I fix this error and copy / move files?

A. Generally you use command like cp or my to copy file. While copying a file these command try to copy file attributes such as ACL information or group access information etc. FAT32 and NFS mount mount cannot support all sort of attributes and these commands cannot differentiate between a filesystem that doesn't support ACL and Linux file system permission.

All your files will be copied or moved without ACL and permissions. You can ignore this error and files should be copied / moved successfully.

Can I use tape drive with XEN VPS / Guest oses?

Q. I’ve CentOS 5.0 server running XEN kernel. VPS Guest is Linux distribution. How do I use tape drive with XEP Guest os?

A. You can’t use character devices such as tape drives in Xen guests. This is limitation of Xen. It doesn't have the ability to export character devices to multiple guests oses.

However for backup you can use rsync or ftp server or NAS server.

Howto: Backup CentOS / Fedora Linux / Red Hat Enterprise Linux server system

Q. How do I backup files and database for the Red Hat Enterprise Linux / CentOS Linux? Currently I’ve MySQL server running on CentOS 5 and Web server and file server using RHEL 5. How do I backup all these servers?

A. Regular backup is an essential for Linux system. You can take backup on
=> Tape
=> NAS Server
=> DVD
=> Network server etc

Implementing a backup policy that includes rotating backup media and keeping copies of backup media offsite is the most reliable way of minimizing damage. See following resources on our site for more information including commands and shell scripts:

  1. Perform backups for the Linux operating system
  2. How to backup MySQL databases, web server files to a FTP server automatically
  3. Howto Backup PostgreSQL Databases
  4. All backup shell scripts

Access NAS server using Windows 2000 or 2003 server

Q. How do I access NAS Server Using Windows 2000 / 2003 / Vista / 2008?
[click to continue…]