$sudo tune2fs -c 60 /dev/hda6
This means the maximum mount time increases to 60 times before starting the forced mount check. Anyway, it is not a good idea to disable the forced check.
Next is to find the UUID (Universally Unique Identifier) of the hard disk. It is useful to identify your hard disk regardless of order of installation. For example, if the first hard disk is sda and the second hard disk is sdb and they both have different file system. When you swab the cable (and port) this nomenclature will change and what in /etc/fstab will not work. But if the UUID is used, both hard disks are still be mounted correctly. Alright, this is how to get your UUID:
Use ls
$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2008-06-28 21:05 B628CC5228CC1373 -> ../../hda1
lrwxrwxrwx 1 root root 10 2008-06-28 21:05 bb34fd58-ca7a-499e-a74c-fe8ba771a148 -> ../../hda6
lrwxrwxrwx 1 root root 10 2008-06-28 21:05 c1fdb5ad-05d6-47f5-b6eb-852bb834df55 -> ../../hda7
or this command
$ blkid /dev/hda6
/dev/hda6: UUID="bb34fd58-ca7a-499e-a74c-fe8ba771a148" TYPE="ext3"
That's all for today...
No comments:
Post a Comment