Title: ProActive Software
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@scan1:~# lvcreate -s -L 50G -n SS /dev/r0/scans
  Logical volume "SS" created
root@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
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

--

T 023 - 5422299
F 023 - 5422728
 
www.proactive.nl

_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to