LVM Snapshot Problem SLES10
Posted: Fri Mar 16, 2007 4:20 am
I would make a backup via Snapshot, but it doesn’t work
system:
SLES10 mit 2.6.16.27-0.9-bigsmp Kernel
I made a snapshot (lvcreate –L30GB –s –n sxbackup /dev/vgscalix/lvscalix), after that he was diplayed via „lvdisplay“, but not mountable, Error: please specify a file system
While creating the snapshot, following error ist diplayed: LV is in use: could not deaktivating...
I’ve add the following line to the udev-rules:
KERNEL=="dm-[0-9]*", OPTIONS+="ignore_device"
After that, I could create a snapshot without errors, while creating, but now my ext3-Journal crashs, and the /dev/vgscalix/vlscalix is read only. Remount doesn’t work, only a reboot helps
here the output of /var/log/messages:
JBD: barrier-based sync failed on dm-0 - disabling barriers
Mar 15 18:56:48 mlkxs1 kernel: klogd 1.4.1, ---------- state change ----------
Mar 15 18:56:48 mlkxs1 kernel: Aborting journal on device dm-0.
Mar 15 18:56:48 mlkxs1 kernel: journal commit I/O error
Mar 15 18:56:48 mlkxs1 kernel: ext3_abort called.
Mar 15 18:56:48 mlkxs1 kernel: EXT3-fs error (device dm-0): ext3_journal_start_sb: Detected aborted journal
Mar 15 18:56:48 mlkxs1 kernel: Remounting filesystem read-only
here the VG:
vgdisplay
--- Volume group ---
VG Name vgscalix
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 56
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 272,25 GB
PE Size 4,00 MB
Total PE 69695
Alloc PE / Size 45000 / 175,78 GB
Free PE / Size 24695 / 96,46 GB
VG UUID ArOOfW-87eN-nKP5-DGFZ-eBkv-z6r1-WtbJyk
here the LV
lvdisplay
--- Logical volume ---
LV Name /dev/vgscalix/lvscalix
VG Name vgscalix
LV UUID BoNkwx-KQ6u-DBb2-qrhP-DgIy-w3hE-eay0zz
LV Write Access read/write
LV Status available
# open 1
LV Size 175,78 GB
Current LE 45000
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
I think, the problem are to many orphaned files (open files?). today I will test to make a snapshot with offline scalix…
In the while, you have any suggestions for me to resolv this problem?
Best regards
system:
SLES10 mit 2.6.16.27-0.9-bigsmp Kernel
I made a snapshot (lvcreate –L30GB –s –n sxbackup /dev/vgscalix/lvscalix), after that he was diplayed via „lvdisplay“, but not mountable, Error: please specify a file system
While creating the snapshot, following error ist diplayed: LV is in use: could not deaktivating...
I’ve add the following line to the udev-rules:
KERNEL=="dm-[0-9]*", OPTIONS+="ignore_device"
After that, I could create a snapshot without errors, while creating, but now my ext3-Journal crashs, and the /dev/vgscalix/vlscalix is read only. Remount doesn’t work, only a reboot helps
here the output of /var/log/messages:
JBD: barrier-based sync failed on dm-0 - disabling barriers
Mar 15 18:56:48 mlkxs1 kernel: klogd 1.4.1, ---------- state change ----------
Mar 15 18:56:48 mlkxs1 kernel: Aborting journal on device dm-0.
Mar 15 18:56:48 mlkxs1 kernel: journal commit I/O error
Mar 15 18:56:48 mlkxs1 kernel: ext3_abort called.
Mar 15 18:56:48 mlkxs1 kernel: EXT3-fs error (device dm-0): ext3_journal_start_sb: Detected aborted journal
Mar 15 18:56:48 mlkxs1 kernel: Remounting filesystem read-only
here the VG:
vgdisplay
--- Volume group ---
VG Name vgscalix
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 56
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 272,25 GB
PE Size 4,00 MB
Total PE 69695
Alloc PE / Size 45000 / 175,78 GB
Free PE / Size 24695 / 96,46 GB
VG UUID ArOOfW-87eN-nKP5-DGFZ-eBkv-z6r1-WtbJyk
here the LV
lvdisplay
--- Logical volume ---
LV Name /dev/vgscalix/lvscalix
VG Name vgscalix
LV UUID BoNkwx-KQ6u-DBb2-qrhP-DgIy-w3hE-eay0zz
LV Write Access read/write
LV Status available
# open 1
LV Size 175,78 GB
Current LE 45000
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
I think, the problem are to many orphaned files (open files?). today I will test to make a snapshot with offline scalix…
In the while, you have any suggestions for me to resolv this problem?
Best regards