Hi all,
I've built a system with /dev/md0 (RAID1 9GB) for home directories.
This is LVM2'ed and the VG is called home_vg and is formatted with XFS.
This is fine and dandy and mounted as /home.
I have a spare LUN (sdd1 16GB) which is going to be used for snapshots and
backups.
So I have added /dev/sdd1 to home_vg and I run the following command to
take a point in time backup:
# xfs_freeze -f /home; lvcreate -L8.4GB -s -n snappy /dev/home_vg/lvol0;
xfs_freeze -u /home
This happily creates /dev/home_vg/snappy
Next I try to mount /dev/home_vg/snappy, but I get bad superblock errors,
and thus cannot mount it.
Its the default kernel 2.6.5 from SLES9.
lvdisplay shows that I have my two volumes, one for snapshotting.
(not in front of the box so cannot give you exact output at the mo)
Any ideas lads?
--
Conor Wynne,
Dublin,
Irlande.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!