corrupt disklabel, how to restore?

didi didi at yuebing.net
Wed Sep 29 02:45:29 PDT 2004


Does :

UFS2+S N

in "freebsd disklabel editor"

mean that no newfs will be created i.e that only the disklabel will be 
written and the acyual filesystem be left alone?

as opposed to

UFS+S Y

?

d-tail


(I'm a bit worried :| )






Subhro wrote:
> There is a key for toggling new filesystem. Probably Y..... sorry
> don't rember it.
> 
> Regards
> S.
> 
> 
> On Wed, 29 Sep 2004 09:58:07 +0200, didi <didi at yuebing.net> wrote:
> 
>>It's partitioned and mounted from sysinstall in 5.2.1
>>
>>And the machine rins 5.2.1 again :(
>>
>>So, I guess I could:
>>
>>use fdisk and/or disklabel from within sysinstall again. But how do I
>>prevent sysinstall from making 'newfs' ?
>>
>>Thanks & Regards D-tail
>>
>>
>>
>>
>>Subhro wrote:
>>
>>>If you have partitioned your disk as UFS2, then there is no way in
>>>which you can access them running 4.10.
>>>
>>>Regards
>>>S,
>>>
>>>
>>>On Wed, 29 Sep 2004 08:32:18 +0200, didi <didi at yuebing.net> wrote:
>>>
>>>
>>>>I did what you shouldn't do. I have two disks one 80gb and one 100gb
>>>>I was not happy with FreeBSD 5.2.1 so I downgraded to 4.10.
>>>>Problem is the disklabel on my second drive somehow got corrupt, on this
>>>>drive i backed up all home/* folders etc and so on, but now I can't get
>>>>to my backup.
>>>>I really need a way to restore the disklabel.
>>>>
>>>>I have tried scan_ffs with no result is there any other way,
>>>>
>>>>The disk was mounted as ad1s1d one large slice.
>>>>
>>>>Any information could be usefull
>>>>_______________________________________________
>>>>freebsd-questions at freebsd.org mailing list
>>>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>>>>
>>>
>>>
>>>
>>>
> 
> 
> 


More information about the freebsd-questions mailing list