- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk failure - "fsck: cannot initialize aggregate"
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 12:32 PM
04-08-2003 12:32 PM
Disk failure - "fsck: cannot initialize aggregate"
We had a disk failure on an HP-UX 11.00 machine yesterday. The disk is an external 36G drive.
The disk contained several home directories that I'd really really like to recover (please don't ask about backups, I know, I know), but it seems to have failed in a way I haven't seen before.
Upon boot, the machine fails to mount the disk, complaining about "no such device". I attribute that to the fstab likely being out of date. Doing an ioscan reveals the following two disks:
10/0/15/1.5 target
10/0/15/1.5.0 disk SEAGATE ST336704LC
10/0/15/1.6 target
10/0/15/1.6.0 disk SEAGATE ST336704LC
Taking a look in /dev/dsk, I see devices for c3t5d0 and c3t6d0. c3t6d0 is vg00, so I assume the external drive is c3t5d0.
So, I attempt to fsck it manually:
[44] % fsck -y -F vxfs -o full /dev/rdsk/c3t5d0
invalid super-block
search for auxiliary super-block? (ynq)y
alternate super-block not found
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
Not good. I'd appreciate any help any of you can provide - SAM considers it "unused", and nothing I've tried has worked so far.
Thanks a BUNCH!
Benny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 12:54 PM
04-08-2003 12:54 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
as usual:
1. 'ioscan -fn' and check if disk is CLAIMED and DEVICE;
2. 'diskinfo -v' to see if disk reports correct block size, number of block, its capacity and vendor/serial number strings;
3. dd from the disk to /dev/null device using bs=4096k. This way you'll check surface for read operation.
If all these will be successful then you simply have data corrupt on the disk. Go to Vogon Intl. at http://www.vogon-international.com
Eugeny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 12:55 PM
04-08-2003 12:55 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
First do an 'ioscan -fnC disk' to see the disks and their device files.
Then do a 'strings /etc/lvmtab' to see which VG that disk belonged to. You could also try doing a 'pvdisplay /dev/dsk/c?t?d0' to see what VGs and LVs were on that disk.
Once you know what the VG name is, do a 'vgchange -a y vg??' to activate the VG. Then try doing a 'fsck -F vxfs -o full -y /dev/vg??/rlovl?'.
You can then try to mount the LV 'mount /dev/vg??/lvol? /mountpointname'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 01:08 PM
04-08-2003 01:08 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
Thanks for the quick replies...
The ioscan and diskinfo seemed to display good info - it is marked as CLAIMED in the ioscan, and the diskinfo reports the correct parameters.
This disk wasn't part of a volume group - it was simply newfs'ed and mounted, so the LVM stuff won't help.
Are there further steps I can take to try to recover the data (short of the data recovery service - the budget is VERY tight, although we'll have to if I can't do it)?
Thanks!
Benny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 01:18 PM
04-08-2003 01:18 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
# fsck -y -F vxfs -o full /dev/vg01/lvol1
If it's a whole disk configuration (not LVM) then the fsck syntax would be.
# fsck -y -F hfs /dev/rdsk/c3t5d0
What's in /etc/lvmtab ?
# strings /etc/lvmtab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 01:36 PM
04-08-2003 01:36 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
I am a little fuzzy here though. You said it "failed" and now it won't fsck the /dev/rdsk or mount it. You also said that /etc/fstab is "out of date"? I would suggest that you try to mount it the old fashioned way to see if there is anything you can do with the disk:
mount /dev/dsk/c3t5d0 /tmp_mnt
See what error, if any is generated. Notice I did not put a -F or any other switches, I am just curious what errors it generates.
No matter what happens with this test, I would suggest that you make your fstab file "Up to date".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 04:17 PM
04-08-2003 04:17 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
# vgfcgrestore -n
# vgchange -a y /dev/vgname
What capcity was this 36gig disk at before this problem? Create another file system of equvivalent size and try a low level backup with dd. First, see what's there:
dd if=/dev/rdsk/c3t5d0 of=/tmp/file bs=2048 count=1000
Then, if happy:
dd if=/dev/rdsk/c3t5d0 of=/tmp/file bs=2048
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 08:15 PM
04-08-2003 08:15 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 08:16 PM
04-08-2003 08:16 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 09:31 PM
04-08-2003 09:31 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
# dd if=/dev/rdsk/c3t5d0 of=/dev/null bs=1024k
if you get any I/O error then it's confirmed that disk failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 09:31 PM
04-08-2003 09:31 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
# dd if=/dev/rdsk/c3t5d0 of=/dev/null bs=1024k
if you get any I/O error then it's confirmed that disk failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 09:32 PM
04-08-2003 09:32 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
# dd if=/dev/rdsk/c3t5d0 of=/dev/null bs=1024k
if you get any I/O error then it's confirmed that disk failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 09:32 PM
04-08-2003 09:32 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
# dd if=/dev/rdsk/c3t5d0 of=/dev/null bs=1024k
if you get any I/O error then it's confirmed that disk failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 09:33 PM
04-08-2003 09:33 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
# dd if=/dev/rdsk/c3t5d0 of=/dev/null bs=1024k
if you get any I/O error then it's confirmed that disk failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 09:33 PM
04-08-2003 09:33 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
# dd if=/dev/rdsk/c3t5d0 of=/dev/null bs=1024k
if you get any I/O error then it's confirmed that disk failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 09:33 PM
04-08-2003 09:33 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
# dd if=/dev/rdsk/c3t5d0 of=/dev/null bs=1024k
if you get any I/O error then it's confirmed that disk failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 09:36 PM
04-08-2003 09:36 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
# dd if=/dev/rdsk/c3t5d0 of=/dev/null bs=1024k
if you get any I/O error then it's confirmed that disk failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 09:36 PM
04-08-2003 09:36 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
# dd if=/dev/rdsk/c3t5d0 of=/dev/null bs=1024k
if you get any I/O error then it's confirmed that disk failure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 10:01 PM
04-08-2003 10:01 PM
Re: Disk failure - "fsck: cannot initialize aggregate"
All
my sincere apologies for multiple replies as i had problem with proxy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 04:10 AM
04-09-2003 04:10 AM
Re: Disk failure - "fsck: cannot initialize aggregate"
Did you ever see that commercial where the irate user / father is trying to kill all the pop up windows from his ISP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 04:20 AM
04-09-2003 04:20 AM
Re: Disk failure - "fsck: cannot initialize aggregate"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 08:37 AM
04-09-2003 08:37 AM
Re: Disk failure - "fsck: cannot initialize aggregate"
Hey folks,
OK. I very much appreciate all the replies, and I very much regret to inform you that my problem report in the first place was flawed.
c3t5d0 ISN'T the failed disk. I should have noticed this - the disk that's bad is an external, and c3t5d0 shared the same controller as the internal boot disk?!? No - c3t5d0 is a second internal disk that I had no idea was there, that is not being used.
:(
Which means, of course, I'm a potatohead and I've been trying to fix the wrong disk. The disk that _is_ failed isn't showing up at all. Not via SEArch on boot-up, not via ioscan or diskinfo or SAM. It's just gone.
After swapping machines, cables, and enclosures, I'm pretty sure the disk is gone. Nothing we've tried will even get a machine to see the disk even being present. :(
So, thanks everyone - it looks like this one's a wash.
Benny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2003 08:28 AM
04-10-2003 08:28 AM
Re: Disk failure - "fsck: cannot initialize aggregate"
Now I know why you have a crown and I don't have anything!
Sorrel