Monday, December 12, 2011

Linux File system creation


Linux File system Creation
~~~~~~~~~~~~~~~~~~~~~~~

check the device name in pvs or powermt display dev=all

1. pvcreate /dev/hdd

1a) vgcreate appvg /dev/emcpowerc

2. vgextend vg0 /dev/hdd

3. lvcreate -L 400M -n lvol1 vg0

4. mkfs -t ext3 -m 1 -v /dev/vg0/lvol1

   tune2fs -l /dev/vg0/lvol1

5. mkdir /mnt/newfs

6. mount -t ext3 /dev/vg0/lvol1 /mnt/newfs

7. lvextend -L40G /dev/rootvg/homelv
   umount /home
   e2fsck -f /dev/rootvg/homelv
   resize2fs /dev/rootvg/homelv
   mount /home

1 comment:

  1. Playtech casino - MapyRO
    Welcome to 영천 출장마사지 the 사천 출장샵 Casinoyro database, with details on 안산 출장안마 software, 부천 출장마사지 games 천안 출장샵 and contact information. All you need to know about Casinos and Games. All Casinos

    ReplyDelete