Ubuntu iSCSI lun backup

Discussion in 'HOWTO-Related Questions' started by vaiojunkie, Aug 27, 2010.

  1. vaiojunkie

    vaiojunkie New Member

    I've followed the howto and successfully setup iSCSI Initiator and Targets. I'm exporting lvm2 logical volumes over iSCSI and the Initiator is a Xen server pool on which I have installed a Debian VM for testing. That part works well but the trouble I'm having now is backing up the LUN/LVM using LVM snapshots.

    I created a LVM snapshot OK but when I try to mount it I get the following error

    [email protected]:/home/wayne# mount /dev/vg0/lun1snap /mnt/lun1snap
    mount: unknown filesystem type 'LVM2_member'
    The layers I have are thus

    LVM group = vg0
    LVM lv = /dev/vg0/storage_lun1
    LVM lv snapshot = /dev/vg0/lun1snap
    ISCSI target = Lun 0 Path=/dev/vg0/storage_lun1,Type=fileio
    The data I'm trying to backup is the VM image files and not the partitions within the VM's as I would like to be able to restore the whole VM if needed but I'm lost in the layers!

    Thanks for reading.

Share This Page