From owner-freebsd-current Wed Aug 26 14:43:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA26305 for freebsd-current-outgoing; Wed, 26 Aug 1998 14:43:59 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from www.video-collage.com (www.video-collage.com [206.15.171.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA26286 for ; Wed, 26 Aug 1998 14:43:54 -0700 (PDT) (envelope-from mi@xxx.video-collage.com) Received: from xxx.video-collage.com (mi@xxx.video-collage.com [199.232.254.68]) by www.video-collage.com (8.8.5/8.8.5) with ESMTP id RAA00307; Wed, 26 Aug 1998 17:41:09 -0400 (EDT) Received: (from mi@localhost) by xxx.video-collage.com (8.8.8/8.8.7) id RAA29688; Wed, 26 Aug 1998 17:41:15 -0400 (EDT) (envelope-from mi) From: Mikhail Teterin Message-Id: <199808262141.RAA29688@xxx.video-collage.com> Subject: Re: recovering disk In-Reply-To: <199808262123.XAA28041@semyam.dinoco.de> from Stefan Eggers at "Aug 26, 98 11:23:07 pm" To: seggers@semyam.dinoco.de (Stefan Eggers) Date: Wed, 26 Aug 1998 17:41:15 -0400 (EDT) Cc: julian@whistle.com, current@FreeBSD.ORG X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7w hJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" 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