Mount and fsck

From Biowikifarm Metawiki
Revision as of 22:07, 27 May 2014 by Gregor Hagedorn (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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