/[sysadmin-cookbook]/recepies/lvm/lvcreate
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /recepies/lvm/lvcreate

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25 - (show annotations)
Fri May 1 15:34:08 2009 UTC (13 years, 7 months ago) by dpavlin
File size: 705 byte(s)
create 200Gb logical volume

1 # LV_NAME=zfs-200
2 # SIZE=200G
3
4 root@opl:/srv/sysadmin-cookbook/recepies/lvm# lvcreate -n zfs-200 -L 200G /dev/raid0
5 Logical volume "zfs-200" created
6 root@opl:/srv/sysadmin-cookbook/recepies/lvm# lvdisplay /dev/raid0/zfs-200
7 --- Logical volume ---
8 LV Name /dev/raid0/zfs-200
9 VG Name raid0
10 LV UUID Ms1SXp-mHKC-6wBt-KjcR-JS18-GoTZ-n0APy0
11 LV Write Access read/write
12 LV Status available
13 # open 0
14 LV Size 200.00 GB
15 Current LE 51200
16 Segments 1
17 Allocation inherit
18 Read ahead sectors auto
19 - currently set to 256
20 Block device 253:2
21

  ViewVC Help
Powered by ViewVC 1.1.26