linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] How do you mount a snapshot?
@ 2000-12-07 11:39 Tracy R Reed
  2000-12-07 19:55 ` David Gould
  0 siblings, 1 reply; 16+ messages in thread
From: Tracy R Reed @ 2000-12-07 11:39 UTC (permalink / raw)
  To: linux-lvm

From what I've read it looks like the oopses on mounting snapshots have
been fixed since I last tried playing with them so I am at it again. I
have a freshly installed RH7.0 system with the 2.4.0-test10 kernel patched
for LVM 0.9 and reiserfs 3.6.22. I can successfully create a snapshot
with:

lvcreate -s -L16 -nsnapshot /dev/vg-sdb1/lv-sdb1

but when I try to mount it:

[root@computer /usr2]# mount -t reiserfs /dev/vg-sdb1/snapshot /snap/
mount: block device /dev/vg-sdb1/snapshot is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/vg-sdb1/snapshot,
       or too many mounted file systems

Without specifying the filesystem type I get:

[root@computer /usr2]# mount /dev/vg-sdb1/snapshot /snap/
mount: /dev/vg-sdb1/snapshot has wrong major or minor number

I was using mount mount-2.10m but I downloaded the fileutils and compiled
and tried mount-2.10r and I get the same results.

What else do I need to do in order to get a snapshot mounted?

-- 
Tracy Reed      http://www.ultraviolet.org

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [linux-lvm] LVM upgrade
@ 2006-11-13 12:19 Fred Donck
  0 siblings, 0 replies; 16+ messages in thread
From: Fred Donck @ 2006-11-13 12:19 UTC (permalink / raw)
  To: linux-lvm


*,

I am in the process of upgrading my Gentoo system and all that is stgill
to be done is LVM2

My current install is the following

host ~ # lvm version
  LVM version:     2.01.09 (2005-04-04)
  Library version: 1.01.00-ioctl (2005-01-17)
  Driver version:  4.4.0
host ~ # df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md2               1003932     64952    938980   7% /
/dev/vg/usr           10485436   3729092   6756344  36% /usr
/dev/vg/var           10485436    636380   9849056   7% /var
/dev/vg/tmp            4194172    494092   3700080  12% /tmp
/dev/vg/opt            4194172     35928   4158244   1% /opt
/dev/vg/home           4194172   3041392   1152780  73% /home
none                    248632         0    248632   0% /dev/shm
host ~ # 


The latest Gentoo version for LVM2 is

host ~ # emerge -p lvm2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-fs/device-mapper-1.02.10-r1 [1.01.00] USE="(-selinux)" 
[ebuild     U ] sys-fs/lvm2-2.02.06 [2.01.09] USE="-clvm% -cman% -gulm% -nolvm1% -nomirrors% -nosnapshots% (-selinux)" 
host ~ # 

Are there any problems i could expect when upgrading? 
Especially in the volume names or in the mapping of volume name to device
name for /etc/fstab.

Thanks in advance
-- 
Fred

Doubt is an uncomfortable situation, but certainty is an absurd one
	-- Voltaire

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2006-11-13 12:19 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-07 11:39 [linux-lvm] How do you mount a snapshot? Tracy R Reed
2000-12-07 19:55 ` David Gould
2000-12-07 20:05   ` Chris Mason
2000-12-07 20:37     ` Tracy R Reed
2000-12-07 20:56       ` Chris Mason
2000-12-08  2:25         ` Tracy R Reed
2000-12-08  6:33         ` David Gould
2000-12-08 14:09           ` Chris Mason
2000-12-08 15:08             ` [linux-lvm] LVM Upgrade Magnus Naeslund(f)
2000-12-08 18:30             ` [linux-lvm] How do you mount a snapshot? David Gould
2000-12-08 20:30               ` Christian Limpach
2000-12-11  4:10                 ` [linux-lvm] OOPS while doing vgextend Magnus Naeslund(f)
2000-12-11  6:48                 ` [linux-lvm] How do you mount a snapshot? David Gould
2000-12-11 14:58                   ` Chris Mason
2000-12-11 18:35                   ` Andreas Dilger
  -- strict thread matches above, loose matches on Subject: below --
2006-11-13 12:19 [linux-lvm] LVM upgrade Fred Donck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).