Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Thu, Feb 03, 2011 at 03:20:50PM -0600, J wrote: > On 2/3/2011 2:55 PM, Lars Ellenberg wrote: > >Don't give up so quickly because of information overload ;-) > >Your question was: > > if I take a snapshot of the logical volume used by > > drbd, will I be able to mount that locally (and easily?) > > > >Though J's answer is correct, it does not clearly say it: > > > >The answer is: Yes. > > > >It's that simple. > > > > Thanks for answering my question Lars. I do appreciate it :) I > decided I would go ahead and try it before I got too much into a new > shell script for the alternative. I got to the point I thought I > would get to. > > # lvcreate --snapshot --size 7g --name snap-srvr mvg/srvr > Logical volume "snap-srvr" created > # ls /dev/mvg > home root snap-srvr srvr > # mount /dev/mvg/snap-srvr /mnt > mount: unknown filesystem type 'drbd' libblkid or whatever tries to play clever here seems to try to be smarter than it's good for it. Just explicitly specify the file system, and be done with it. mount -t ext3 /dev/mvg/snap-srvr /mnt (or xfs, or ext4, or whatever you are using). -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. __ please don't Cc me, but send to list -- I'm subscribed