Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. root@vswitch-BlackfordESB2:/home/vswitch# vgdisplay
  2. No volume groups found
  3. root@vswitch-BlackfordESB2:/home/vswitch# vgcreate vm /dev/sda1
  4. No physical volume label read from /dev/sda1
  5. Can't open /dev/sda1 exclusively. Mounted filesystem?
  6. Unable to add physical volume '/dev/sda1' to volume group 'vm'.
  7. root@vswitch-BlackfordESB2:/home/vswitch# pvdisplay
  8.  
  9. root@vswitch-BlackfordESB2:/home/vswitch# df -h
  10. Filesystem Size Used Avail Use% Mounted on
  11. /dev/sda1 60G 4.2G 53G 8% /
  12. udev 3.6G 4.0K 3.6G 1% /dev
  13. tmpfs 1.5G 1.1M 1.5G 1% /run
  14. none 5.0M 0 5.0M 0% /run/lock
  15. none 3.6G 0 3.6G 0% /run/shm
  16.  
  17. # vgcreate vm /dev/sda2
  18.  
  19. # lvcreate -L 10G -n lv0 vm
  20.  
  21. # mkfs.ext4 /dev/mapper/vm-lv0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement