Advertisement
teknoraver

lvm2_to_raw

Apr 29th, 2018
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. # lvm_scan
  2. Scanning devices for LVM volume groups
  3. Reading all physical volumes. This may take a while...
  4. Found volume group "fedora" using metadata type lvm2
  5. 2 logical volume(s) in volume group "fedora" now active
  6. # cat /proc/partitions
  7. major minor #blocks name
  8.  
  9. 252 0 7340032 vda
  10. 252 1 204800 vda1
  11. 252 2 1048576 vda2
  12. 252 3 6085632 vda3
  13. 253 0 737280 dm-0
  14. 253 1 5345280 dm-1
  15. # dd if=/dev/dm-1 of=/dev/vda3 bs=$(((1<<21)-4))K
  16. 2+1 records in
  17. 2+1 records out
  18. 5473566720 bytes (5.5 GB, 5.1 GiB) copied, 18.9428 s, 289 MB/s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement