Re: How to get into single user mode - RHEL 5.6

2011-06-26 Thread Donald Russell
Yes it is... rootvg :-) mounted at / But, easier than that was CP IPL 100 PARM SINGLE, no messing around with detaching/linking mdisks and so on. But I'll look into Scot's advice of creating a single disk rescue system On Sat, Jun 25, 2011 at 17:59, Richard Troth vmcow...@gmail.com wrote: Is

Re: How to get into single user mode - RHEL 5.6

2011-06-26 Thread Donald Russell
Some good ideas there Scott. :-) Even though IPL cuu PARM SINGLE is great for getting me into single user mode, the other nice thing about having the menu reinstated is it lets me back out a kernel more easily... reboot... choose the older one ... done. The few second delay in having it time out

How to get into single user mode - RHEL 5.6

2011-06-25 Thread Donald Russell
RHEL 5.6 on zVM 6.1 I made a change to /etc/pam.d/system-auth and didn't test it before logging off again. :-( Now, nobody can logon because they get an error, Module not found. (I must have fat-fingered the module name I was adding. OK, no big deal, signal shutdown user x within 300 to bring

Re: How to get into single user mode - RHEL 5.6

2011-06-25 Thread Scott Rohling
If it's really a single disk LVM -- unmount it.. You need to do a pvscan, vgscan, and then vgchange -ay volume-group.. then mount /dev/volume-group/logical-volume.And if your other server already uses the same volume-group name - you will have to rename it before you can activate the new

Re: How to get into single user mode - RHEL 5.6

2011-06-25 Thread Donald Russell
Thanks Scott There are other files systems that also use LVM, but I know the root file system is all on the 100 disk only. I can't actually unmount anything... but I can shut the whole server down and log it off. On my healthy system I can attach (link) the disk, but that's where you're

Re: How to get into single user mode - RHEL 5.6

2011-06-25 Thread Scott Rohling
I meant unmount it from the system you were trying to recover it from -- cuz you needed to mount is as an LVM -- not as a filesystem. But - the duplicate vg apparently would have stopped you. I forgot about the SINGLE parm -- nice one. Couple recommendations: - ensure /etc/zipl.conf has the

Re: How to get into single user mode - RHEL 5.6

2011-06-25 Thread Scott Rohling
sorry - bad wording.. you needed to mount it as an LVM -- not a dasd device.. Scott Rohling On Sat, Jun 25, 2011 at 5:08 PM, Scott Rohling scott.rohl...@gmail.comwrote: I meant unmount it from the system you were trying to recover it from -- cuz you needed to mount is as an LVM -- not as a

Re: How to get into single user mode - RHEL 5.6

2011-06-25 Thread Richard Troth
Is the volume group of the damaged system the same as the volume group of the repairing system? -- R; On Jun 25, 2011 5:49 PM, Donald Russell russell@gmail.com wrote: Thanks Scott There are other files systems that also use LVM, but I know the root file system is all on the 100