Code: Select all
[root@merlin ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 5.7G 1.6G 3.9G 30% /
/dev/sda1 76M 9.1M 63M 13% /boot
tmpfs 1011M 0 1011M 0% /dev/shm
/dev/mapper/vgscalix-lvscalix
197G 604M 187G 1% /var/opt/scalix
/dev/sdb 67G 55M 64G 1% /var/opt/scalix/mn/s/tempThe device sda is a RAID 1+0 array and device sdb is a separate disk to which I have mounted the temp directory in order to improve performance. The LVM volume group is setup on sda.
My system is not live yet (no users except myself) and I have been experimenting with LVM snapshots. I'm having trouble mounting my snapshots after creating them. I have arbitrarily chosen a volume size of 40GB based on suggestions that it should be around 15-20% of the original volume. During snapshot creation I receive the following error message:
Code: Select all
[root@merlin ~]# omsuspend -s 60 &
[root@merlin ~]# sync
[root@merlin ~]# lvcreate -L 40G -s -n sxbackup /dev/vgscalix/lvscalix
LV vgscalix/sxbackup in use: not deactivating
Couldn't deactivate new snapshot.
[root@merlin ~]# omsuspend -rI'm not sure if this is a warning or an error. In any case, I can confirm the creation of the snapshot with the lvdisplay command:
Code: Select all
[root@merlin ~]# lvdisplay
--- Logical volume ---
LV Name /dev/vgscalix/lvscalix
VG Name vgscalix
LV UUID Ix12TP-6PLr-Q91z-rq71-4cJR-6dql-3i70cV
LV Write Access read/write
LV Status available
# open 1
LV Size 200.00 GB
Current LE 51200
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Logical volume ---
LV Name /dev/vgscalix/sxbackup
VG Name vgscalix
LV UUID HLckYJ-nQ5D-6Zs9-YU87-x65D-tprw-oClE2i
LV Write Access read/write
LV Status available
# open 0
LV Size 40.00 GB
Current LE 10240
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1However, when I try to mount the snapshot, I run into problems:
Code: Select all
[root@merlin ~]# mount /dev/vgscalix/sxbackup /mnt/sxbackup
mount: you must specify the filesystem type
[root@merlin ~]# mount -t ext3 /dev/vgscalix/sxbackup /mnt/sxbackup
mount: wrong fs type, bad option, bad superblock on /dev/vgscalix/sxbackup,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or soI saw a thread (http://www.scalix.com/forums/viewtopic.php?t=6627&highlight=mount+snapshot ) describing a similar problem with SLES10. Has anybody else experienced similar problems under FC5? Am I going to have to patch the kernel to get this working? Any advice would be much appreciated.