Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Please Ignore my last post. I recreated my vg with the --clustered option, now I get: Clustered snapshots are not yet supported. I read some things like that, but was under the impression that this was added in a more recent release. I think I'll have to change my setup to: Disk -> LVM -> DRBD -> OCFS2 (As in Kaloyan's post: DRBD on top op LVM, not the other way around... :-)) Cheers, Dirk Op 5-4-2012 18:32, Dirk Bonenkamp - ProActive schreef: > Hi, > > I've changed my setup, I know have: > > Disk -> DRBD -> LVM -> OCFS2 > > I have clvm and lvm2 running (both clones) and things seem to work > fine. (After some fiddeling, I'm new to LVM. I needed cLVM to get > things working smooth). > > I can create a snapshot volume, but I fail to succesfully change the > UUID / volume label: > > root at scan1:~# lvcreate -s -L 50G -n SS /dev/r0/scans > Logical volume "SS" created > root at scan1:~# tunefs.ocfs2 --cloned-volume -L SS /dev/r0/SS > Updating the UUID and label on cloned volume "/dev/r0/SS". > DANGER: THIS WILL MODIFY THE UUID WITHOUT ACCESSING THE CLUSTER > SOFTWARE. YOU MUST BE ABSOLUTELY SURE THAT NO OTHER NODE IS USING > THIS FILESYSTEM BEFORE MODIFYING ITS UUID. > Update the UUID and label? y > tunefs.ocfs2: OCFS2 inode is not a directory while opening device > "/dev/r0/SS" > > Anyone familiar with this setup / error message? > > Thank you in advance, > > Dirk > > Op 4-4-2012 14:16, Kaloyan Kovachev schreef: >> If you are using DRBD on top of LVM you can make use of snapshots and >> mount the snapshot with local locking. Here is an example from my backup >> script: >> >> lvcreate -s -L 100G -n LVMsnapshot /dev/vg0/lv0 >> tunefs.ocfs2 -y -L LVMsnapshot --cloned-volume /dev/vg0/LVMsnapshot >> mount -o ro,localflocks /dev/vg0/LVMsnapshot /mnt/LVMsnapshot/ >> rsync -a --delete /mnt/LVMsnapshot/ ${BACKUP_LOCATION} >> umount /mnt/LVMsnapshot >> lvremove -f /dev/vg0/LVMsnapshot >> >> > > > > > > > > > > > _______________________________________________ > drbd-user mailing list > drbd-user at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user -- <http://www.proactive.nl> T 023 - 5422299 F 023 - 5422728 www.proactive.nl <http://www.proactive.nl> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120405/69a0420b/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.gif Type: image/gif Size: 3966 bytes Desc: not available URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120405/69a0420b/attachment.gif>