Re: Mounting ext3 disk read-only as ext2

2006-06-08 Thread Michael MacIsaac
James, How do you tell Linux what VM already knows (The disk is RO) during startup so you camt mount the VM specified RO mini-disk as RW to linux? Good question. But it goes back to the basic premise that Mark pointed out. I'll try to summarize 1) when you need to write to a disk that others

Re: Mounting ext3 disk read-only as ext2

2006-06-08 Thread Alan Altmark
On Thursday, 06/08/2006 at 08:12 AST, Michael MacIsaac/Poughkeepsie/[EMAIL PROTECTED] wrote: 1) when you need to write to a disk that others have R/O, all others should unmount the disk, 2) then the master can mount it, write to it and unmount it. 3) then all others can mount it R/O again.

Re: Mounting ext3 disk read-only as ext2

2006-06-08 Thread Mark Perry
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael MacIsaac wrote: James, How do you tell Linux what VM already knows (The disk is RO) during startup so you camt mount the VM specified RO mini-disk as RW to linux? Good question. But it goes back to the basic premise that Mark pointed

Re: Mounting ext3 disk read-only as ext2

2006-06-08 Thread Phil Tully
Alan Altmark wrote: On Thursday, 06/08/2006 at 08:12 AST, Michael MacIsaac/Poughkeepsie/[EMAIL PROTECTED] wrote: 1) when you need to write to a disk that others have R/O, all others should unmount the disk, 2) then the master can mount it, write to it and unmount it. 3) then all others can

Re: Mounting ext3 disk read-only as ext2

2006-06-08 Thread David Boyes
I know some people will be shocked, but z/VM can't perform miracles. thud. :-) Though I am forced to admit that it does a pretty good imitation! So you're closing this comment as FIN (fixed in next release)? *grin* -- db

Re: Mounting ext3 disk read-only as ext2

2006-06-08 Thread James Melin
Subject Re: Mounting ext3 disk read-only as ext2 Please respond to Linux on 390 Port LINUX-390@VM.MARIST.EDU James, How do

Re: Mounting ext3 disk read-only as ext2

2006-06-08 Thread Rob van der Heij
On 6/8/06, James Melin [EMAIL PROTECTED] wrote: So, even though the VM image sees the disk as RO via the CP link, when Linux comes up, it does NOT see these as RO by default, even though FSTAB has the active disk mounted RO. the contents of /proc/dasd/devices never shows the RO linked disks

Re: Mounting ext3 disk read-only as ext2

2006-06-08 Thread James Melin
Re: Mounting ext3 disk read-only as ext2 Please respond to Linux on 390 Port LINUX-390@VM.MARIST.EDU On 6/8/06, James Melin [EMAIL PROTECTED] wrote: So, even though the VM image sees

Re: Mounting ext3 disk read-only as ext2

2006-06-08 Thread Alan Altmark
On Thursday, 06/08/2006 at 04:33 ZE2, Rob van der Heij [EMAIL PROTECTED] wrote: Because the DASD architecture does not have a means to tell the host that someone has flipped the write disable switch on the device. Not quite true, Sir! You find out when you try to write. :-) You will get a

Re: Mounting ext3 disk read-only as ext2

2006-06-07 Thread Ronald van der Laan
Michael, Please check how the dasd driver sees the dasdd disk ( /proc/dasd/devices ), read/only or read/writable. If it says rw, then the journalling code seems to want to write to the disk, even if you say ro or ext2. If it says rw, then you can issue blockdev --setro /dev/dasdd before you

Re: Mounting ext3 disk read-only as ext2

2006-06-07 Thread Michael MacIsaac
Ronald, Thanks for the append. Please check how the dasd driver sees the dasdd disk It sees it as ro: # cat /proc/dasd/devices 0.0.0100(ECKD) at ( 94: 0) is dasda : active at blocksize: 4096, 546840 blocks, 2136 MB 0.0.0101(FBA ) at ( 94: 4) is dasdb : active at blocksize:

Re: Mounting ext3 disk read-only as ext2

2006-06-07 Thread Post, Mark K
to share read-only while someone else has a file system read-write. Mark Post -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Michael MacIsaac Sent: Wednesday, June 07, 2006 3:08 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Mounting ext3 disk read-only as ext2

Re: Mounting ext3 disk read-only as ext2

2006-06-07 Thread James Melin
Re: Mounting ext3 disk read-only as ext2 Please respond to Linux on 390 Port LINUX-390@VM.MARIST.EDU Ronald, Thanks for the append. Please check how the dasd driver sees the dasdd

Mounting ext3 disk read-only as ext2

2006-06-06 Thread Michael MacIsaac
Hello list, I'm trying to mount an ext3 file system as ext2, I thought this could *always* be done, but I'm finding otherwise. I write to a disk on a master Linux and then want to link it read-only on clones. I use a LINK statement in the USER DIRECTory, use (ro) in zipl.conf and ro in fstab.

Re: Mounting ext3 disk read-only as ext2

2006-06-06 Thread Leland Lucius
You could try mounting it with the noload option. Might work...never tried it. Leland On 6/6/06 12:39 PM, Michael MacIsaac [EMAIL PROTECTED] wrote: Hello list, I'm trying to mount an ext3 file system as ext2, I thought this could *always* be done, but I'm finding otherwise. I write to a

Re: Mounting ext3 disk read-only as ext2

2006-06-06 Thread Michael MacIsaac
Leland, You could try mounting it with the noload option. Thanks, but no cigar - same error: # mount -o noload /dev/dasdd1 /mnt mount: wrong fs type, bad option, bad superblock on /dev/dasdd1, or too many mounted file systems Mike MacIsaac [EMAIL PROTECTED] (845) 433-7061

Re: Mounting ext3 disk read-only as ext2

2006-06-06 Thread James Melin
Subject Re: Mounting ext3 disk read-only as ext2 Please respond to Linux

Re: Mounting ext3 disk read-only as ext2

2006-06-06 Thread Michael MacIsaac
James, Did you try the -t flag? -t ext2 specifically? Yes, many times: # mount -t ext2 -o ro /dev/dasdd1 /mnt mount: wrong fs type, bad option, bad superblock on /dev/dasdd1, or too many mounted file systems # mount -t ext2 -o noload /dev/dasdd1 /mnt mount: wrong fs type, bad