Date: Wed, 26 Aug 1998 17:41:15 -0400 (EDT) From: Mikhail Teterin <mi@video-collage.com> To: seggers@semyam.dinoco.de (Stefan Eggers) Cc: julian@whistle.com, current@FreeBSD.ORG Subject: Re: recovering disk Message-ID: <199808262141.RAA29688@xxx.video-collage.com> In-Reply-To: <199808262123.XAA28041@semyam.dinoco.de> from Stefan Eggers at "Aug 26, 98 11:23:07 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Eggers once stated: => fdisk at all and proceed to the disklabel... So what should I do => instead of the plain: => => root@rtfm:/home/mi (108) disklabel -e sd1 => disklabel: ioctl DIOCGDINFO: Invalid argument =How about "disklabel -r -e sd1s1" (if fdisk partition 4 - if it is the =only one - ends up as slice 1) for a start? =If it is thought of by the system as damaged or unlabled I think the =best one can do is writing a new one with "disklabel -r -w sd1s1 auto" =and then edit the data. One will loose the previous data in it, though. root@rtfm:/home/mi (112) disklabel -r sd1s1 disklabel: bad pack magic number (label is damaged, or pack is unlabeled) root@rtfm:/home/mi (113) disklabel -r -w sd1s1 auto disklabel: ioctl DIOCGDINFO: Invalid argument disklabel: auto: unknown disk type root@rtfm:/home/mi (114) disklabel -r -e sd1s1 disklabel: bad pack magic number (label is damaged, or pack is unlabeled) :-( Thanks! -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808262141.RAA29688>