<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Please Ignore my last post.<br>
<br>
I recreated my vg with the --clustered option, now I get:<br>
<br>
Clustered snapshots are not yet supported.<br>
<br>
I read some things like that, but was under the impression that this
was added in a more recent release.<br>
<br>
I think I'll have to change my setup to:<br>
<br>
Disk -> LVM -> DRBD -> OCFS2 (As in Kaloyan's post: DRBD on
top op LVM, not the other way around... :-))<br>
<br>
Cheers,<br>
<br>
Dirk<br>
<br>
<br>
Op 5-4-2012 18:32, Dirk Bonenkamp - ProActive schreef:
<blockquote cite="mid:4F7DC91C.7070708@proactive.nl" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hi,<br>
<br>
I've changed my setup, I know have:<br>
<br>
Disk -> DRBD -> LVM -> OCFS2<br>
<br>
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).<br>
<br>
I can create a snapshot volume, but I fail to succesfully change
the UUID / volume label:<br>
<br>
root@scan1:~# lvcreate -s -L 50G -n SS /dev/r0/scans<br>
Logical volume "SS" created<br>
root@scan1:~# tunefs.ocfs2 --cloned-volume -L SS /dev/r0/SS<br>
Updating the UUID and label on cloned volume "/dev/r0/SS".<br>
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.<br>
Update the UUID and label? y<br>
tunefs.ocfs2: OCFS2 inode is not a directory while opening device
"/dev/r0/SS"<br>
<br>
Anyone familiar with this setup / error message?<br>
<br>
Thank you in advance,<br>
<br>
Dirk<br>
<br>
Op 4-4-2012 14:16, Kaloyan Kovachev schreef:
<blockquote
cite="mid:f7e1fb76b82ae316dc75a50a136105ee@mx.varna.net"
type="cite">
<pre wrap="">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
</pre>
<br>
</blockquote>
<div class="moz-signature"><br>
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td width="20"><br>
</td>
<td><br>
</td>
</tr>
<tr>
<td><br>
</td>
<td><br>
</td>
</tr>
<tr>
<td colspan="2"><br>
</td>
</tr>
<tr>
<td colspan="2"><br>
</td>
</tr>
</tbody>
</table>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
drbd-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title>ProActive Software</title>
<style type="text/css">
html, body, table {
        font-family:                        arial, helvetica, sans-serif;
        font-size:                                11px;
}
a {
        color:                                        #25aae1;
        text-decoration:                none;
}
</style><a href="http://www.proactive.nl"><img alt=""
src="cid:part1.08030606.06040600@proactive.nl" border="0"
height="105" width="84"></a><br>
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td width="20">T</td>
<td>023 - 5422299</td>
</tr>
<tr>
<td>F</td>
<td>023 - 5422728</td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><a href="http://www.proactive.nl">www.proactive.nl</a></td>
</tr>
</tbody>
</table>
<br>
</div>
</body>
</html>