Re: Detection of DASD volume linked read only

2006-10-30 Thread Eric Gaulin
2006/10/29, Vic Cross [EMAIL PROTECTED]: Lee Stewart wrote: Depends on when you want to check it... After it's activated, look at /proc/dasd/devices 0.0.0200(ECKD) at ( 94: 0) is dasda : active at blocksize: 4096, 600840 blocks, 2347 MB 0.0.0190(ECKD) at ( 94:24) is dasdg

Re: Detection of DASD volume linked read only

2006-10-29 Thread Vic Cross
Lee Stewart wrote: Depends on when you want to check it... After it's activated, look at /proc/dasd/devices 0.0.0200(ECKD) at ( 94: 0) is dasda : active at blocksize: 4096, 600840 blocks, 2347 MB 0.0.0190(ECKD) at ( 94:24) is dasdg (ro): active at blocksize: 4096, 19260 blocks,

Detection of DASD volume linked read only

2006-10-25 Thread Eric Gaulin
Hi, On z/VM side i have a DASD volume linked read only. But on linux side i need to find a way for detecting if that DASD device is in a read only state. with the following mount command: mount /mnt/data -o remount,rw I don't get any errors from de the mount command, and if i check the status

Re: Detection of DASD volume linked read only

2006-10-25 Thread David Kreuter
@VM.MARIST.EDU Subject: Detection of DASD volume linked read only Hi, On z/VM side i have a DASD volume linked read only. But on linux side i need to find a way for detecting if that DASD device is in a read only state. with the following mount command: mount /mnt/data -o remount,rw I don't get

Re: Detection of DASD volume linked read only

2006-10-25 Thread Post, Mark K
of DASD volume linked read only Hi, On z/VM side i have a DASD volume linked read only. But on linux side i need to find a way for detecting if that DASD device is in a read only state. with the following mount command: mount /mnt/data -o remount,rw I don't get any errors from de the mount command

Re: Detection of DASD volume linked read only

2006-10-25 Thread Lee Stewart
Depends on when you want to check it... After it's activated, look at /proc/dasd/devices 0.0.0200(ECKD) at ( 94: 0) is dasda : active at blocksize: 4096, 600840 blocks, 2347 MB 0.0.0190(ECKD) at ( 94:24) is dasdg (ro): active at blocksize: 4096, 19260 blocks, 75 MB Note 190

Re: Detection of DASD volume linked read only

2006-10-25 Thread Rob van der Heij
On 10/25/06, Post, Mark K [EMAIL PROTECTED] wrote: I would use the hcp command (from the cpint package), or the vmcp command to query CP. Alternatively, you might consider to make the link mode in the directory M rather than MR so that you just don't get the disk when it cannot be in write.