Create, Extend and Configure File Systems Flashcards
1
Q
How do you scan a filesystem for errors?
A
vfat: fsck.vfat {/block/device}
ext4: fsck {/block/device}
xfs: xfs_repair
* cannot run on mounted filesystem
2
Q
How do you get advanced information on an ext4 filesystem?
A
dupme2fs {/block/device}
3
Q
How do you get advanced information on an xfs filesystem?
A
xfs_info {/block/device}
4
Q
How would you mount a samba share?
A
mount -t cifs -o username={name},password={pass} //{host}/{share} /mount/path
5
Q
How would you mount an nfs share?
A
mount -t nfs {host}:/share /mount/path
6
Q
What are the difference between an nfs and samba share?
A
samba share is just a share name
nfs share is references the actual directory location on the host