Date: Wed, 26 Aug 1998 18:21:46 -0500 (EST) From: Alfred Perlstein <bright@www.hotjobs.com> To: Mikhail Teterin <mi@video-collage.com> Cc: Stefan Eggers <seggers@semyam.dinoco.de>, julian@whistle.com, current@FreeBSD.ORG Subject: Re: recovering disk Message-ID: <Pine.BSF.3.96.980826182105.20439A-100000@bright.fx.genx.net> In-Reply-To: <199808262141.RAA29688@xxx.video-collage.com>
next in thread | previous in thread | raw e-mail | index | archive | help
are you using DEVFS? cause that's the same problems i get when trying to do a disklabel, although i can read my labels, as they are not hosed. Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com -- There are operating systems, and then there's FreeBSD. -- http://www.freebsd.org/ 3.0-current On Wed, 26 Aug 1998, Mikhail Teterin wrote: > 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 > 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?Pine.BSF.3.96.980826182105.20439A-100000>