I am trying to copy an LVM logical volume with an ext3 filesystem from one system to a file on another system that I will be able to mount as a loopback device. I have tried the following command to copy the volume:
dd if=/dev/VolGroup01/example-volume bs=1M | ssh target-system dd of=/backup/example-volume-image bs=1M
This gives me a file with the same size as the logical volume however when I try to mount it I get:
[root@target-system backup]# mount -o loop example-volume-image /mnt mount: you must specify the filesystem type [root@target-system backup]# mount -o loop -t ext3 dev2-endeca1-rootfs /mnt mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so
Am I not copying the volume correctly or is it just possibly corrupt?