Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120405/1a5bf958/attachment.htm>