[linux-lvm] About fstab and fsck

Madan Thapa madan.feedback at gmail.com
Wed Feb 11 15:45:21 UTC 2009


I recently added a new disk ( secondary 750G) and added it into a VG  and
then increased the size of the LV.

[root at server ~]# pvdisplay | egrep 'PV Name|PV Size|VG Name'
  PV Name               /dev/sda2
  VG Name               VolGroup00
  PV Size               698.54 GB / not usable 4.40 MB
  PV Name               /dev/sdb1
  VG Name               VolGroup00
  PV Size               698.64 GB / not usable 10.34 MB

[root at server ~]# lvdisplay | egrep 'LV Name|LV Size|VG Name'
  LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV Size                1.32 TB
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV Size                1.94 GB
[root at server ~]#


Can you please advise of the following q:

1) Do we need to change anything in  /etc/fstab or the second disk will be
automatically mounted on reboot?

current fstab is
[root at server ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
[root at server ~]#

2)  For 1.3 TB , fsck is going to take a long time

Is it good idea disable fsck completely on reboot and or  do scheduled
manual fsck.  Due to the nature of data , even manual fsck is not preffered
though, but with tight budget, other things are not possible
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20090211/ef26fa8b/attachment.htm>

More information about the linux-lvm mailing list