Difference between revisions of "Mount and fsck"

From Biowikifarm Metawiki
Jump to: navigation, search
(Created page with "Some commands useful for mounting (mount), unmounting (umount) and file checking (fsck). 1. Permanent mounts in sudo nano /etc/fstab #after editing check with (else reboot...")
(No difference)

Revision as of 22:07, 27 May 2014

Some commands useful for mounting (mount), unmounting (umount) and file checking (fsck).

1. Permanent mounts in

sudo nano /etc/fstab
#after editing check with (else reboot may fail):
mount -fav # = fake/all in fstab/verbose

2. if root partition is corrupt, use:

shutdown -rF now

3. for other partitions use

sudo fuser -km /mnt/storage; sudo umount mnt/storage; sudo fsck /dev/xvdb1
sudo fuser -km /mnt/dump; sudo umount mnt/dump; sudo fsck /dev/xvdc1