Skip to contentSkip to conversation

RedHat 9 lvcreate snapshot failure.

linux-lvm Richard Collins 2 participants 2 messages Jan 5, 2004 – Jan 6, 2004

lore
Share & tools
lore
#0 lore raw

Running Redhat 9 and trying to create a snapshot for a safer backup of a logical volume, I get the following error. Surfing the net didn't turn up anything. Any help would be greatly appreciated.

Thanks,

Richard

lvcreate -L20M --snapshot --name mysnap /dev/vg00/homes
lvcreate -- rounding size up to physical extent boundary lvcreate -- WARNING: the snapshot will be automatically disabled once it gets full
lvcreate -- INFO: using default snapshot chunk size of 64 KB for "/dev/vg00/mysnap"
lvcreate -- ERROR "Invalid argument" creating VGDA for "/dev/vg00/mysnap" in kernel

----
lvdisplay /dev/vg00/homes
--- Logical volume ---

LV Name                /dev/vg00/homes
VG Name                vg00
LV Write Access        read/write
LV Status              available
LV #                   2
# open                 1
LV Size                64 GB
Current LE             4
Allocated LE           4
Allocation             next free
Read ahead sectors     1024
Block device           58:1
#1 lore raw

This seems to be a bug in the RedHat Kernel:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=97843

Should be fixed in the latest errata kernel, but I have not verified that.

Regards,
Michael Paesold

----- Original Message -----
From: "Richard Collins" <[email protected]>
To: <[email protected]>
Sent: Monday, January 05, 2004 2:29 AM
Subject: [linux-lvm] RedHat 9 lvcreate snapshot failure.

Quoted 11 lines

Running Redhat 9 and trying to create a snapshot for a safer backup of a logical volume, I get the following error. Surfing the net didn't turn up anything. Any help would be greatly appreciated.

Thanks,

Richard

Quoted 7 lines

lvcreate -L20M --snapshot --name mysnap /dev/vg00/homes lvcreate -- rounding size up to physical extent boundary lvcreate -- WARNING: the snapshot will be automatically disabled once it gets full
lvcreate -- INFO: using default snapshot chunk size of 64 KB for "/dev/vg00/mysnap"
lvcreate -- ERROR "Invalid argument" creating VGDA for "/dev/vg00/mysnap"

in

Quoted 25 lines

kernel

----
lvdisplay /dev/vg00/homes
--- Logical volume ---

LV Name                /dev/vg00/homes
VG Name                vg00
LV Write Access        read/write
LV Status              available
LV #                   2
# open                 1
LV Size                64 GB
Current LE             4
Allocated LE           4
Allocation             next free
Read ahead sectors     1024
Block device           58:1

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/