Linux: Configure and Control APC SmartUPS During a Power Failure

Posted on in Categories , last updated November 18, 2012

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?

Freebsd Mount a NAS via SMB / CIFS

Posted on in Categories , , , , , , , last updated January 25, 2009

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?

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

Posted on in Categories , , , , , , , , , last updated September 21, 2007

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?

Posted on in Categories , , , , , last updated August 2, 2007

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.