Tag Info

Hot answers tagged

5

Speaking of 2014: no, it is definitely not production ready yet! Performance of it is still sub par in some areas, common commands like "df" are still being broken on purpose (you need "btrfs fi" instead), and I still wouldn't trust it my important data. Also if you are in need of a filesystem putting your images of virtual machines on or databases, you ...


5

I use ZFS on Linux as a volume manager and a means to provide additional protections and functionality to traditional filesystems. This includes bringing block-level snapshots, replication, deduplication, compression and advanced caching to the XFS or ext4 filesystems. See: https://pthree.org/2012/12/21/zfs-administration-part-xiv-zvols/ for another ...


2

First, take a look at the Bad Block HOWTO for smartmontools: http://smartmontools.sourceforge.net/badblockhowto.html Second, if you don't already have it, time to implement a working backup strategy. If you need a certain availability of your server, you might also want to consider implementing a RAID-1, mirroring. And either way it's time to get rid ...


2

Recommended way would be to install grub to a master boot record on each hard drive, that is sda and sdb. That way if one hard drive fails you will be able to boot from another one. Depending on your setup sometimes you may need to install grub to a specific partition rather than a master boot record. For example if you have another boot loader sitting on ...


2

It would be vastly faster and easier to just reimage/restore from backups. Rule of thumb for the desktop techs who work under me is that if you can't fix the problem in an hour, it's time to re-image the box. In your case, it sounds like the system rebooted or crashed in the middle of a Windows update, while it was updating a bunch of system files, so who ...


1

If you don't have tree you could use this linux/unix command: ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' You can also make a shell script see details here. Explanation for the above command: ls -R list all directories, sub-directories, Explanation ls -R list all the file and directories recursively ex: ...


1

You should check the cron files for whatever is inside /etc/cron* and if any "sudoed" users got a cron inside /var/spool/cron/crontabs/ that could umount something. autofs can also do stupide stuff with mount binds, but I've never seen it happen.


1

I had to upgrade to kernel 3.X.X where ext4 works just fine ;)


1

If you want the source and binaries to be in a directory not tight to a specific user, a Linux standard location would be /usr/local/src/<software-name> and /usr/local/bin (see http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY ). Alternatively, you might also choose /opt/<software-name>/src and /opt/<software-name>/bin.


1

Use SCP to copy the files. Example to copy the directory "foo" from the local host to a remote host's directory "bar" scp -r foo your_username@remotehost.edu:/some/remote/directory/bar Ref: http://www.hypexr.org/linux_scp_help.php



Only top voted, non community-wiki answers of a minimum length are eligible