> -----Original Message----- > From: Robert Mustacchi [mailto:[email protected]] > Sent: 星期二, 一月 26, 2016 15:21 > To: [email protected] > Cc: illumos-developer > Subject: Re: [developer] RE: [smartos-discuss] Is zfs dead man timer > tunable? > > On 1/25/16 23:18 , Fred Liu wrote: > > > > > >> -----Original Message----- > >> From: Robert Mustacchi [mailto:[email protected]] > >> Sent: 星期二, 一月 26, 2016 14:57 > >> To: [email protected] > >> Cc: illumos-developer > >> Subject: Re: [smartos-discuss] Is zfs dead man timer tunable? > >> > >> On 1/25/16 22:50 , Fred Liu wrote: > >>> [root@pluto /zones/debug]# ls -la > >>> total 4818285 > >>> drwxr-xr-x 2 root root 5 Jan 26 14:16 . > >>> drwxr-xr-x 16 root root 19 Jan 25 19:21 .. > >>> -rw-r--r-- 1 root root 2 Jan 26 14:15 bounds > >>> -rw-r--r-- 1 root root 1056 Jan 26 14:15 METRICS.csv > >>> -rw-r--r-- 1 root root 4305518592 Jan 26 14:15 vmdump.0 > >>> [root@pluto /zones/debug]# mdb -f vmdump.0 > >>>> echo ::zio_state > >>> mdb: failed to dereference symbol: operation not supported by > >> target > >>> > ::status > >>> debugging file 'vmdump.0' (object file) > >>> > >>> [root@pluto /zones/debug]# echo "::zio_state" | mdb -f vmdump.0 > >>> invalid command '::zio_state': unknown dcmd name > >>> > >>> It looks like I can't find too much useful info here. > >> > >> You don't want to be using mdb -f on a system dump. Instead here, I > >> would go into that directory, run `savecore -vf vmdump.0 .`. > >> > >> That will create a unix.0 and vmcore.0 which you can then access > with > >> mdb by running `mdb 0` in that directory. Note that by using mdb -f, > >> you've asked mdb not to interpret the core dump, but rather treat it > >> as a raw file which is why the dcmds are not being found. > >> > > > > It looks like "`savecore -vf vmdump.0 .`" won't work: > > > > [root@pluto /zones/debug]# ls -la > > total 39 > > drwxr-xr-x 2 root root 2 Jan 26 15:15 . > > drwxr-xr-x 16 root root 19 Jan 25 19:21 .. > > > > [root@pluto /zones/debug]# savecore -vf vmdump.0 . > > savecore: stat("vmdump.0"): No such file or directory > > savecore: open("vmdump.0"): No such file or directory > > > > [root@pluto /zones/debug]# touch vmdump.0 [root@pluto /zones/debug]# > > savecore -vf vmdump.0 . > > savecore: pread: Invalid argument > > savecore: pread: Invalid argument > > > > For I cleaned "/zones/debug", it looks I need push server panic again: > > [root@pluto /zones/debug]# savecore -v /zones/debug > > savecore: dump already processed > > It's certainly not going to work if the file's not there. Which your > first ls shows it's not. Did you delete it?
Yes. I cleaned the whole folder.... Fred > > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
