does partimage support backing up Logical Volumes

If you have a question about a file system (for example xfs, reiserfs, ...)

Moderator: feffer

does partimage support backing up Logical Volumes

Postby hi2satish » Mon Aug 11, 2008 11:09 pm

I wanted to backup logical volume /dev/abc_vg_ide_0/lv1. The following command gave me an error as below:

# ./partimage0.6.5 -B gui=no -z1 -od -f3 save /dev/abc_vg_ide_0/lv1 foo1.img
partimage: status: initializing the operation. Please wait...
Segmentation fault
[root@shdev-8 ~]# echo $?
139
# ls -l foo1*
-rw------- 1 root root 331 Aug 11 19:04 foo1.img.000
#


# ./partimage0.6.5 -B gui=no -z1 -od -f3 save /dev/mapper/abc_vg_pri_ide_0-lv1 foo2.img
partimage: status: initializing the operation. Please wait...
Segmentation fault
[root@shdev-8 ~]# echo $?
139
[root@shdev-8 ~]# ls -l foo2*
-rw------- 1 root root 333 Aug 11 19:06 foo2.img.000
[root@shdev-8 ~]#


Not sure whether partimage version 0.6.5 supports LVM.
hi2satish
 
Posts: 2
Joined: Mon Aug 11, 2008 10:42 pm

Postby kiwigee » Sat Oct 04, 2008 8:19 am

Hi,
Although you don't explicitly say so or not - it seems to me you may be saving the image on the same volume you're trying to image ?
Or at least to don't give the path to the image location.

I think.

cheers
gee
kiwigee
 
Posts: 1
Joined: Sat Oct 04, 2008 8:13 am
Location: Newb Zealand

Postby hi2satish » Tue Aug 04, 2009 4:48 pm

The current directory from where I initiated the above command is / and it is not under LVM and not same as source FS.
hi2satish
 
Posts: 2
Joined: Mon Aug 11, 2008 10:42 pm

Postby feffer » Wed Aug 05, 2009 7:10 pm

Hi hi2satish,
Since your initial post was a year ago, I think you must have moved on. Right? If you are still interested in getting this working, partimage will work on both primary and logical partitions. You tried:
# ./partimage0.6.5 -B gui=no -z1 -od -f3 save /dev/abc_vg_ide_0/lv1 foo1.img
Isn't "/dev/abc_vg_ide_0" a logical partition and "/lv1" a sub-directory of it? I don't think you can image sub-directories -- only entire partitions. Also, make sure "/dev/abc_vg_ide_0" is unmounted and try using the full path to the image.

feffer
feffer
 
Posts: 120
Joined: Tue Mar 17, 2009 4:30 am


Return to File systems support

Who is online

Users browsing this forum: No registered users and 0 guests

cron