[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] About fstab and fsck



Hi,

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


[root 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 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 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 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 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







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]