Dale wrote:


root@fireball / # pvcreate /dev/sdb
  Physical volume "/dev/sdb" successfully created
root@fireball / #

Step one done.  It didn't puke on my keyboard.  lol

Now to see what else I can get into. Not going to put anything important on it tho. Just a temporary thing right now. Just getting my feet wet.

Dale

:-)  :-)


More progress.

root@fireball / # ls -al /dev/mapper/
total 0
drwxr-xr-x  2 root root      80 Apr  8 15:56 .
drwxr-xr-x 16 root root    4400 Apr  8 15:56 ..
crw-rw----  1 root root 10, 236 Apr  8 04:39 control
lrwxrwxrwx  1 root root       7 Apr  8 15:56 sdb--vg-test -> ../dm-0
root@fireball / # pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdb
  VG Name               sdb-vg
  PV Size               232.83 GiB / not usable 2.58 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              59604
  Free PE               46804
  Allocated PE          12800
  PV UUID               kopUKm-lXy1-7tiq-FuQ2-Xhs5-tGqN-Ls4R1v

root@fireball / # vgdisplay
  --- Volume group ---
  VG Name               sdb-vg
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               232.83 GiB
  PE Size               4.00 MiB
  Total PE              59604
  Alloc PE / Size       12800 / 50.00 GiB
  Free  PE / Size       46804 / 182.83 GiB
  VG UUID               5OSiWZ-rWza-uKJ2-rVMO-f38G-NBHx-dmAE1K

root@fireball / # lvdisplay
  --- Logical volume ---
  LV Name                /dev/sdb-vg/test
  VG Name                sdb-vg
  LV UUID                mixhOb-La6D-BwG4-Uz3l-P0ci-oGg5-YI3mN8
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                50.00 GiB
  Current LE             12800
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0

root@fireball / #

I'm still trying to figure out how the naming part works tho. Now to mount it and put something on it. See if it works.

Let me know if something doesn't look right. Otherwise, I'll keep playing around with it.

Dale

:-)  :-)

Reply via email to