ONTAP Discussions

Panic: Root volume: "aggr0" is corrupt

Lewisr650
6,566 Views

I have OnTap 7.3 running in a VM and had to hard reboot my laptop.  Now when I try to run the OnTap Simulator I get an error stating a PANIC: Root volume: "aggr0" is corrupt.  Has anyone seen this and is there a utility to run to validate?

Thanks,

Richard

=====  Message   ====

NetApp Release 7.3.2: Thu Oct 15 03:13:41 PDT 2009
Copyright (c) 1992-2009 NetApp.
Starting boot on Mon Apr  5 19:57:26 GMT 2010
Mon Apr  5 19:57:27 GMT [iomem.card.fail.fpga.rev:CRITICAL]: Acceleration card (model name X1938A-R5, serial number 5012345670, part number virgo-simulator) on slot 1 has firmware version 1.0 (200905011442), requires 1.1 (200908030903).
Mon Apr  5 19:57:27 GMT [iomem.init.fail:CRITICAL]: Failed to initialize acceleration card (model name X1938A-R5, serial number 5012345670, part number virgo-simulator) in slot 1.
Mon Apr  5 19:57:32 GMT [fmmb.current.lock.disk:info]: Disk v4.16 is a local HA mailbox disk.
Mon Apr  5 19:57:32 GMT [fmmb.current.lock.disk:info]: Disk v4.17 is a local HA mailbox disk.
Mon Apr  5 19:57:32 GMT [fmmb.instStat.change:info]: normal mailbox instance on local side.

PANIC: Root volume: "aggr0" is corrupt
version: NetApp Release 7.3.2: Thu Oct 15 03:13:41 PDT 2009
cc flags: L
halt after panic during system initialization

8 REPLIES 8

adamfox
6,442 Views

No promises (it is a sim after all), but if you edit your runsim.sh file and find the line where it starts the sim up (runs the maytag.L file).  On that line there is probably a -f flag.  If you get rid of that flag and then run 'runsim.sh', it will prompt you for a floppy boot.  Say yes and it will boot to the 1-5 menu.  From there you can run WAFL_check on aggr0 which may be able to fix it.  Enter '22/7' if you don't see it on the menu and you'll see it there.

Like I said, this isn't pretty and I've never done it on a sim before, but it's worth a shot.

Lewisr650
6,442 Views

I don't see WAFL_check on the menu.  I have tried "22" and "22/7" as a menu option with no results.  It just responds with the same menu options.

Any suggestions?

Thanks,

Richard

adamfox
6,442 Views

It's hidden.  I just brought up my sim to test.  When you get to the 1-5 menu, just enter WAFL_check.  It will then prompt you if you want to check each aggr.  Select the 'y' for the one you want.

Give that a try.

Lewisr650
6,442 Views

Ok...I got WAFL_check to run and it appeared to resolve some things, but now I'm getting a different PANIC error.

Replaying WAFL log

wafl_verify_nvlog: aggregate aggr0 (0x4bd2dec5 type 0) CP_count is inconsistent
volume count is 32770, logged count is 32784

wafl_verify_nvlog: aggregate aggr0 (0x4bd2dec5 type 0) CP_count is inconsistent
volume count is 32770, logged count is 32783

Can't replay WAFL non-volatile RAM log.
Requests in the few seconds before the system went down may be lost.
Mon Apr  5 21:45:03 GMT [wafl.nvlog.verifyFail:ALERT]: Can't verify WAFL NV log 0. Error: Wrong CP count recorded for a volume (3).

PANIC: Generating core dump to save image of faulty NVRAM contents... 
dumpcore: Generating core dump to save image of faulty NVRAM contents...

adamfox
6,442 Views

Ok.  Try to bring it up again and see if it'll come up.  Basically since you don't have a real NVRAM on a sim, you may have lost up to 10s of data. Hopefully after the core dump it cleared the NVRAM and started over.

thessalonikipa
6,442 Views

Hi,

just wanted to let you know that I had the same problem and the instructions helped me solve it.

Thanks a lot!

- Giannis Stoilis

minhan
6,442 Views

Very useful tips. Same problem resolved by WAFL_check, thanks.

assen
6,442 Views

Spent 4 hours configuring several virtual sims for a test.

This morning the desktop running the VMs was down.

Went to the store to buy UPS. Happy I was that all will be good and

then .... I ran into 'aggr0 is corrupt' on all sims.

Your tip saved me time and  I learned a new skill.

Thank you.

Assen

Public