Pridanie noveho oddielu a particie (Freebsd 5.3)

Juraj Lutter freebsd-users-l at wilbury.sk
Mon Jan 17 12:40:30 CET 2005


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



More information about the Users-l mailing list