Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@vswitch-BlackfordESB2:/home/vswitch# vgdisplay
- No volume groups found
- root@vswitch-BlackfordESB2:/home/vswitch# vgcreate vm /dev/sda1
- No physical volume label read from /dev/sda1
- Can't open /dev/sda1 exclusively. Mounted filesystem?
- Unable to add physical volume '/dev/sda1' to volume group 'vm'.
- root@vswitch-BlackfordESB2:/home/vswitch# pvdisplay
- root@vswitch-BlackfordESB2:/home/vswitch# df -h
- Filesystem Size Used Avail Use% Mounted on
- /dev/sda1 60G 4.2G 53G 8% /
- udev 3.6G 4.0K 3.6G 1% /dev
- tmpfs 1.5G 1.1M 1.5G 1% /run
- none 5.0M 0 5.0M 0% /run/lock
- none 3.6G 0 3.6G 0% /run/shm
- # vgcreate vm /dev/sda2
- # lvcreate -L 10G -n lv0 vm
- # mkfs.ext4 /dev/mapper/vm-lv0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement