Re: strange behavior of restore(8)

看板FB_questions作者時間14年前 (2011/10/24 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/16 (看更多)
El d穩a Sunday, October 23, 2011 a las 11:13:13PM +0700, Victor Sudakov escribi籀: > Victor Sudakov wrote: > > > > > > > > I am trying to restore a UFS2 zero level dump sized about 51G. > > > > restore has created 6105 directories and no files at all, and now is > > > > waiting forever in the runnable state. Side note: I have already restored UFS level zero dumps of 130G, even into FreeBSD in a VM, without any kind of problem. Don't know UFS2, though. > > > > > > I don't have any specific advice here, but if it were me I think my > > > next troubleshooting step would be to attach truss to the restore > > > process after it gets "stuck," to try to see exactly what it's doing. > > > That may give you a clue as to why it's taking so long and whether > > > it's actually making any progress. > > > > It's doing something like that. I should have piped the output > > through uniq not to clutter the list, but on second thought, I decided > > not to: > > > > # truss -p 18568 > > lseek(4,0x0,SEEK_CUR) = 25395100 (0x1837f9c) > > lseek(4,0x0,SEEK_CUR) = 25395100 (0x1837f9c) > > lseek(4,0x0,SEEK_CUR) = 25395100 (0x1837f9c) > > lseek(4,0x0,SEEK_CUR) = 25395100 (0x1837f9c) Asuming 4 is the fd of the restore device, i.e. the DUMP, this seek does nothing: moves to offset of 0 bytes from the current position. Are you sure that the device (tape?) is fine? HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <guru@unixarea.de> - w http://www.unixarea.de/ 200ꀭ20ì肠: 10 a簽os de guerra en Afghanistan. 癒Basta ya! 200ꀭ20ì肠: 10 years war in Afghanistan. Stop it now! 200ꀭ20ì肠: 10 Jahre Krieg in Afghanistan. Schluss jetzt endlich! _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1Ef5PZL4 (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1Ef5PZL4 (FB_questions)