On Tue, Dec 25, 2012 at 12:25:02AM +0800, Mark David Dumlao wrote:
> On Dec 24, 2012 10:00 PM, "Dale" <rdalek1...@gmail.com> wrote:
> > I have not
> > tested the theory but that is what people have been saying.  Not only is
> > my /usr separate but it is on LVM partitons too.
> 
> If I recall correctly, easy repartitioning was supposed to be one of the
> main reasons wy LVM was  made in the first place. ;)

mingdao@server ~ $ df -hT
Filesystem                   Type      Size  Used Avail Use% Mounted on
rootfs                       rootfs    2.0G   93M  1.9G   5% /
/dev/root                    xfs       2.0G   93M  1.9G   5% /
tmpfs                        tmpfs     3.0G  284K  3.0G   1% /run
udev                         devtmpfs   10M  4.0K   10M   1% /dev
shm                          tmpfs     3.0G     0  3.0G   0% /dev/shm
cgroup_root                  tmpfs      10M     0   10M   0% /sys/fs/cgroup
/dev/mapper/system-var       xfs        10G  737M  9.3G   8% /var
/dev/mapper/system-usr       xfs        10G  4.3G  5.8G  43% /usr
/dev/mapper/system-home      xfs       6.0G  5.0G 1023M  84% /home
/dev/mapper/storage-photos   xfs       500G   19G  482G   4% /photos
/dev/mapper/storage-backups  xfs       500G  313G  188G  63% /backups
/dev/mapper/storage-offload  fuseblk   300G  262G   39G  88% /offload
/dev/mapper/storage-peter    xfs        25G  1.7G   24G   7% /peter
/dev/mapper/storage-jeremiah xfs        10G  2.5G  7.5G  25% /jeremiah

server ~ # vgdisplay
  --- Volume group ---
  VG Name               storage
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  10
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                5
  Open LV               5
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               1.82 TiB
  PE Size               4.00 MiB
  Total PE              476834
  Alloc PE / Size       341760 / 1.30 TiB
  Free  PE / Size       135074 / 527.63 GiB
  VG UUID               5ifFA3-FEME-tAne-s8pd-D5Zr-5MhY-GzLjGS
   
  --- Volume group ---
  VG Name               system
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  7
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               64.29 GiB
  PE Size               4.00 MiB
  Total PE              16459
  Alloc PE / Size       6656 / 26.00 GiB
  Free  PE / Size       9803 / 38.29 GiB
  VG UUID               vxWFrl-cfeA-YTGe-oMCF-Muei-wSbe-uLKiq9

mingdao@server ~ $ cat /proc/mdstat 
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] 
[multipath] 
md3 : active raid10 sdg1[2] sde1[0] sdh1[3] sdf1[1]
      1953115136 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
      
md1 : active raid6 sdc2[2] sdd2[3] sdb2[1] sda2[0]
      67418112 blocks level 6, 512k chunk, algorithm 2 [4/4] [UUUU]
      
md0 : active raid1 sdc1[2] sdd1[3] sdb1[1] sda1[0]
      2097088 blocks [4/4] [UUUU]
      
unused devices: <none>

mingdao@server ~ $ egrep -v "(^#|^ *$)" /etc/fstab 
/dev/md0                /               xfs             inode64,logbsize=262144 
0 1
/var/swapfile1          swap            swap            defaults                
0 0
/dev/system/var         /var            xfs             defaults                
0 0
/dev/system/usr         /usr            xfs             defaults                
0 0
/dev/system/home        /home           xfs             defaults                
0 0
/dev/storage/photos     /photos         xfs             users,rw                
0 0
/dev/storage/backups    /backups        xfs             users,rw                
0 0
/dev/storage/offload    /offload        ntfs            defaults                
0 0
/dev/storage/peter      /peter          xfs             defaults                
0 0
/dev/storage/jeremiah   /jeremiah       xfs             defaults                
0 0
/dev/cdrom              /mnt/cdrom      auto            noauto,ro               
0 0

mingdao@server ~ $ egrep -v "(^#|^ *$)" /etc/lilo.conf
compact
lba32
boot = /dev/md0
raid-extra-boot = mbr-only
map = /boot/.map
install = /boot/boot-menu.b   # Note that for lilo-22.5.5 or later you
                              # do not need boot-{text,menu,bmp}.b in
                              # /boot, as they are linked into the lilo
                              # binary.
menu-scheme=Wb
prompt
timeout=50
append="panic=10 nomce dolvm domdadm rootfstype=xfs"
image = /boot/vmlinuz
        root = /dev/md0
        label = Gentoo
        read-only  # Partitions should be mounted read-only for checking
image = /boot/vmlinuz.old
        root = /dev/md0
        label = Gentoo-def
        read-only  # Partitions should be mounted read-only for checking




No initrd...
-- 
Happy Penguin Computers               >')
126 Fenco Drive                       ( \
Tupelo, MS 38801                       ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting

Reply via email to