Hi Justin. Yes, dasdc/uuid Os3... is the volume I tried to add to LogVol00. I didn't realise when I started this excercise that, as I'm using ext2 (chosen over ext3 as I'm led to believe its faster, not sure if this is correct), I would be unable to make the file system expand to cover this volume as that can't be done online, nor can I offline the root. So that got abandoned as-was until a rainy day when I could figure out how to start a system which could fix it and I added a new 3390-9 VG/LV to move most of our data to, which freed up enough space on the root lv.
According to my notes, this was the procedure for the attempted expansion of root: cd /sys/bus/ccw/drivers/dasd-eckd cd 0.0.012 echo 1 > online cd dasdfmt -b 4096 -d cdl -f /dev/dasdc -l dasdc -p -y fdasd -a /dev/dasdc pvcreate /dev/dasdc1 lvmdiskscan pvscan vgextend VolGroup00 /dev/dasdc1 vgdisplay lvextend -l +100%FREE /dev/VolGroup00/LogVol00 vgdisplay So, if I understand that correctly, the lv's expanded onto dasdc, but the fs isn't. So there's no data there but as its not mounted (because I didn't do the mkinitrd/zipl and maybe some other steps?) it won't ipl. I assume that my other lv won't automount either, but because its not the root its not critical to the ipl. The console from the steps you requested follows. I'm not sure what "cat /etc/modprobe.conf" does, but is the response "options dasd_mod dasd=120-121" correct? Should I expect to see there at least dasdc (122) which is in the main lv group, if not dasdd (123) as well, which is the other Vol Group? Many thanks for your help, ian ... login as: root Welcome to the Red Hat Linux install environment 1.1 for zSeries Running anaconda, the CentOS 4.5 rescue mode - please wait... Your system is mounted under the /mnt/sysimage directory. When finished please exit from the shell and your system will reboot. -/bin/sh-3.00# cd /mnt/sysimage -/bin/sh-3.00# chroot /mnt/sysimage chroot: cannot execute /sbin/loader: No such file or directory -/bin/sh-3.00# chroot /mnt/sysimage /bin/bash bash-3.00# cat /proc/dasd/devices 0.0.0120(ECKD) at ( 94: 0) is dasda : active at blocksize: 4096, 601020 blocks, 2347 MB 0.0.0121(ECKD) at ( 94: 4) is dasdb : active at blocksize: 4096, 601020 blocks, 2347 MB 0.0.0122(ECKD) at ( 94: 8) is dasdc : active at blocksize: 4096, 1803060 blocks, 7043 MB 0.0.0123(ECKD) at ( 94: 12) is dasdd : active at blocksize: 4096, 1803060 blocks, 7043 MB bash-3.00# cat /etc/modprobe.conf alias ctc0 ctc options dasd_mod dasd=120-121 bash-3.00# dmesg Linux version 2.6.9-55.EL ([EMAIL PROTECTED]) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)) #1 SMP Wed May 16 23:44:37 EEST 2007 We are running native (64 bit mode) On node 0 totalpages: 65536 DMA zone: 65536 pages, LIFO batch:16 Normal zone: 0 pages, LIFO batch:1 HighMem zone: 0 pages, LIFO batch:1 Built 1 zonelists Kernel command line: root=/dev/ram0 ro ip=off ramdisk_size=40000 rescue PID hash table entries: 2048 (order: 11, 65536 bytes) Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) Memory: 243200k/262144k available (2040k kernel code, 0k reserved, 967k data, 116k init) Calibrating delay loop... 429.26 BogoMIPS (lpj=2146304) Security Scaffold v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode There is already a security framework initialized, register_security failed. selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 256 (order: 0, 4096 bytes) Detected 2 CPU's Boot cpu address 0 cpu 0 phys_idx=0 vers=00 ident=000611 machine=3090 unused=8000 cpu 1 phys_idx=1 vers=00 ident=000611 machine=3090 unused=8000 Brought up 2 CPUs checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Freeing initrd memory: 8192k freed debug: Initialization complete NET: Registered protocol family 16 cio: Was not able to determine available CHSCs. appldata info: mem-ops registered! appldata info: os-ops registered! appldata info: net_sum-ops registered! hypfs: diag 204 not working.<3>hypfs: Initialization failed with rc = -61. audit: initializing netlink socket (disabled) audit(1207086688.956:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key 6ABA7793E91ED802 - User ID: CentOS (Kernel Module GPG key) RAMDISK driver initialized: 16 RAM disks of 40000K size 1024 blocksize divert: not allocating divert_blk for non-ethernet device lo md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 Channel measurement facility using basic format (autodetected) NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 3, 32768 bytes) TCP established hash table entries: 16384 (order: 6, 393216 bytes) TCP bind hash table entries: 16384 (order: 6, 262144 bytes) TCP: Hash tables configured (established 16384 bind 16384) Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 116k freed sclp low level driver: unconditional read: No buffers stored (response code=0x60f0). CTC driver Version: 1.63 initialized divert: not allocating divert_blk for non-ethernet device ctc0 ctc0: read: ch-0.0.0e20, write: ch-0.0.0e21, proto: 3 ctc0: connected with remote side loop: loaded (max 8 devices) SCSI subsystem initialized qdio: loading QDIO base support version 2 ($Revision: 1.86 $/$Revision: 1.57 $/$Revision: 1.26 $) qdio : Not all CHSCs supported. Continuing. dasd(diag): Machine is not VM: DIAG discipline not initializing dasd_erp(3990): 0.0.0120: EXAMINE 24: Command Reject detected - fatal error dasd(eckd): I/O status report for device 0.0.0120: dasd(eckd): in req: 000000000df99ee0 CS: 0x40 DS: 0x0E dasd(eckd): device 0.0.0120: Failing CCW: 000000000df99fb8 dasd(eckd): Sense(hex) 0- 7: 80 00 00 00 00 00 00 04 dasd(eckd): Sense(hex) 8-15: 00 00 00 00 00 00 00 00 dasd(eckd): Sense(hex) 16-23: 00 00 00 00 00 00 00 00 dasd(eckd): Sense(hex) 24-31: 00 00 00 80 00 00 00 00 dasd(eckd): 24 Byte: 0 MSG 4, no MSGb to SYSOP dasd(eckd): Related CP in req: 000000000df99ee0 dasd(eckd): CCW 000000000df99fb0: 27000042 0DF99FB8 DAT: 1d000000 00000800 00000000 00000000 00000000 00000000 00000000 00000000 dasd(eckd): 0.0.0120: PSF-SSC on storage subsystem HRC.ZZ000000000001.0120 returned rc=-5 dasd(eckd): 0.0.0120: 3390/0A(CU:3990/01) Cyl:3339 Head:15 Sec:224 Using cfq io scheduler dasd(eckd): 0.0.0120: (4kB blks): 2404080kB at 48kB/trk compatible disk layout dasda:VOL1/ 0X0120: dasda1 dasda2 dasd(eckd): 0.0.0121: 3390/0A(CU:3990/01) Cyl:3339 Head:15 Sec:224 dasd(eckd): 0.0.0121: (4kB blks): 2404080kB at 48kB/trk compatible disk layout dasdb:VOL1/ 0X0121: dasdb1 dasd(eckd): 0.0.0122: 3390/0C(CU:3990/01) Cyl:10017 Head:15 Sec:224 dasd(eckd): 0.0.0122: (4kB blks): 7212240kB at 48kB/trk compatible disk layout dasdc:VOL1/ 0X0122: dasdc1 dasd(eckd): 0.0.0123: 3390/0C(CU:3990/01) Cyl:10017 Head:15 Sec:224 dasd(eckd): 0.0.0123: (4kB blks): 7212240kB at 48kB/trk compatible disk layout dasdd:VOL1/ 0X0123: dasdd1 Unable to identify CD-ROM format. VFS: Can't find ext2 filesystem on dev loop0. security: 3 users, 4 roles, 355 types, 26 bools security: 55 classes, 22610 rules SELinux: Completing initialization. SELinux: Setting up existing superblocks. SELinux: initialized (dev loop0, type cramfs), uses genfs_contexts SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts SELinux: initialized (dev ram0, type ext2), uses xattr inode_doinit_with_dentry: no dentry for dev=ram0 ino=6762 inode_doinit_with_dentry: no dentry for dev=ram0 ino=13413 inode_doinit_with_dentry: no dentry for dev=ram0 ino=6740 inode_doinit_with_dentry: no dentry for dev=ram0 ino=6868 SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts SELinux: initialized (dev mqueue, type mqueue), not configured for labeling SELinux: initialized (dev devpts, type devpts), uses transition SIDs SELinux: initialized (dev eventpollfs, type eventpollfs), uses genfs_contexts SELinux: initialized (dev pipefs, type pipefs), uses task SIDs SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs SELinux: initialized (dev futexfs, type futexfs), uses genfs_contexts SELinux: initialized (dev sockfs, type sockfs), uses task SIDs SELinux: initialized (dev proc, type proc), uses genfs_contexts SELinux: initialized (dev bdev, type bdev), uses genfs_contexts SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts md: raid0 personality registered as nr 2 md: raid1 personality registered as nr 3 raid5: measuring checksumming speed 8regs : 159.600 MB/sec 8regs_prefetch: 149.200 MB/sec 32regs : 58.000 MB/sec 32regs_prefetch: 57.200 MB/sec raid5: using function: 8regs (159.600 MB/sec) md: raid5 personality registered as nr 4 raid6: int64x1 8 MB/s raid6: int64x2 10 MB/s raid6: int64x4 9 MB/s raid6: int64x8 4 MB/s raid6: using algorithm int64x2 (10 MB/s) md: raid6 personality registered as nr 8 device-mapper: 4.5.5-ioctl (2006-12-01) initialised: [EMAIL PROTECTED] SELinux: initialized (dev dm-0, type ext2), uses xattr SELinux: initialized (dev dm-1, type ext2), uses xattr SELinux: initialized (dev dasda1, type ext2), uses xattr SELinux: initialized (dev dm-1, type ext2), uses xattr SELinux: initialized (dev dm-1, type ext2), uses xattr SELinux: initialized (dev dasda1, type ext2), uses xattr Adding 524280k swap on /dev/VolGroup00/LogVol01. Priority:-1 extents:1 bash-3.00# ------ Original Message ------ Received: Tue, 01 Apr 2008 08:44:59 PM BST From: Justin Payne <[EMAIL PROTECTED]> To: LINUX-390@VM.MARIST.EDU Subject: Re: DASD error on zlinux ipl > Ian S. Worthington wrote: > > Could it be that this is just stuffed beyond recovery? Should I be putting my > > efforts into rebuilding from the last backup (several months ago apparently) > > instead? > > > > i > > > > ------ Original Message ------ > > Received: Tue, 01 Apr 2008 04:22:11 PM BST > > From: Peter 1 Oberparleiter <[EMAIL PROTECTED]> > > To: LINUX-390@VM.MARIST.EDU > > Subject: Re: DASD error on zlinux ipl > > > > > Ian, > > It seems that you are having trouble with one specific dasd: > > Scanning logical volumes > Reading all physical volumes. This may take a while... > Couldn't find device with uuid 'Os3guQ-6mwh-w2JE-LM3n-3Nwy-QaGp-U6E4cd'. > > Looking at your pvdisplay from rescue we see: > > --- Physical volume --- > > > PV Name /dev/dasdc1 > > > VG Name VolGroup00 > > > PV Size 6.88 GB / not usable 3.11 MB > > > Allocatable yes (but full) > > > PE Size (KByte) 32768 > > > Total PE 220 > > > Free PE 0 > > > Allocated PE 220 > > > PV UUID Os3guQ-6mwh-w2JE-LM3n-3Nwy-QaGp-U6E4cd > > From the rescue environment, can you run the following again: > > $ cd /mnt/sysimsge > $ chroot /mnt/sysimage > # cat /proc/dasd/devices > (post again) > # cat /etc/modprobe.conf > > dmesg from the rescue environment may also be helpful. > > You stated something in your first post about adding dasd to extend this logical volume, do you know exactly what steps were taken to do so, and did it ever work properly? > > ~Justin Payne > > >> Linux on 390 Port <LINUX-390@VM.MARIST.EDU> wrote on 01.04.2008 16:57:42: > >> > >>> I wonder whether having the filesystems mounted twice could be causing a > >>> problem. > >>> > >> Also the fact that /proc (and /sys) is not mounted under /mnt/sysimage2 > >> may prevent mkinitrd from working correctly. > >> > >> > >> Regards, > >> Peter > >> > >> -- > >> Peter Oberparleiter > >> Linux on System z Development > >> IBM Deutschland Entwicklung GmbH > >> > >> ---------------------------------------------------------------------- > >> For LINUX-390 subscribe / signoff / archive access instructions, > >> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or > >> > > visit > > > >> http://www.marist.edu/htbin/wlvindex?LINUX-390 > >> > >> > > ---------------------------------------------------------------------- > > For LINUX-390 subscribe / signoff / archive access instructions, > > send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit > > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390