Pridanie noveho oddielu a particie (Freebsd 5.3)

Juris, Maros {PGID~Kaiseraugst} maros.juris at roche.com
Mon Jan 17 12:46:50 CET 2005


Som si naivne myslel ze ked sa v sysinstalle daju nastavit parametre pre newfs tak to ma
aj nejaky ten vyznam - ale asi nie, nuz co si clovek sam nespravi....
Kazdopadne dakujem.

Maroš Juriš

-----Original Message-----
From: users-l-bounces at freebsd.cz [mailto:users-l-bounces at freebsd.cz] On Behalf Of Juraj Lutter
Sent: Monday, January 17, 2005 12:41 PM
To: FreeBSD mailing list
Subject: Re: Pridanie noveho oddielu a particie (Freebsd 5.3)


Juris, Maros {PGID~Kaiseraugst} wrote:
> Dobry den,
> ----------------------------------------------------------------------
> --------------------------------
> BSDLabel na novovytvoreny oddiel:
> # bsdlabel /dev/ad0s3
> # /dev/ad0s3:
> 8 partitions:
> #        size   offset    fstype   [fsize bsize bps/cpg]
>   c:  8191008        0    unused        0     0         # "raw" part, don't edit
>   d:  8191008        0    4.2BSD        0     0     0
> ------------------------------------------------------------------------------------------------------

Tu chyba jeden VELMI dolezity krok: vytvorenie filesystemu.

dosiahneme toho prikazom:

# newfs -U -O2 /dev/ad0s3d

toto vytvori UFS2 filesystem so zapnutymi Soft Updates.

> FSCK na novovytvorenu particiu:
> # fsck /dev/ad0s3d
> ** /dev/ad0s3d
> Cannot find file system superblock
> /dev/ad0s3d: INCOMPLETE LABEL: type 4.2BSD fsize 0, frag 0, cpg 0, 
> size 8191008
> ------------------------------------------------------------------------------------------------------
> # mount -t ufs /dev/ad0s3d /opt
> mount: /dev/ad0s3d on /opt: incorrect super block
> ------------------------------------------------------------------------------------------------------

dalej mozeme postupovat podla obvykleho ritualu.

otis

-- 
Juraj Lutter                          |  /"\  ASCII Ribbon Campaign
otis (at) wilbury.sk                  |  \ /
http://www.wilbury.sk/                |   X   - NO HTML/RTF in e-mail
                                       |  / \  - NO Word docs in e-mail
-- 
FreeBSD mailing list (users-l at freebsd.cz) http://www.freebsd.cz/listserv/listinfo/users-l




More information about the Users-l mailing list