Resize ext2
Zdenek Pytela
letty na mrakoplas.phil.muni.cz
Pátek Srpen 9 09:27:13 CEST 2002
radek_sedmak na eurotel.cz píše:
> Ahoj vespolek,
>
> mam prosbicku procetl jsem vetsinu howto ale nektere nejsou zrovna up
> to date ( ext2fs resize odkazuje na neexistujici page) Proto se obracim na
> konferenci.
> Mam disk ktery ma nasl partition....
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 765 6144831 b Win95Fat32
> /dev/hda2 1021 1430 3293325 83 Linux
> /dev/hda3 1431 1467 297202+ 82 Linux swap
>
>
> Proste jsem pomoci PQ magiku urizl kus windowsoidni partition takze mi
> vznikl na disku prazdny prostor bloky 766 az 1020 ktery bych chtel pripojit
> k /dev/hda2 jak na to ? Nemam s tim zadne zkusenosti a samozrejme ze je to
> notebook ktery neni zalohovan takze bych nerad prisel o data. Diky za
> jakekoliv info....
Ve vašem případě je asi nejlepší použít resize2fs, to ale nelze
dělat na živém systému. Balíček e2fsprogs, manuálová stránka resize2fs (8).
...
DESCRIPTION
The resize2fs program will resize ext2 file systems. It
can be used to enlarge or shrink an ext2 file system
located on device so that it will have size blocks. If
the size parameter is not specified, it will default to
the size of the partition. The size parameter may never
be larger than the size of the partition.
The resize2fs program does not manipulate the size of par-
titions. If you wish to enlarge a filesystem, you must
first make sure you can expand the size of the underlying
partition first. This can be done using fdisk(8) by
...
--
--Zdeněk Pytela, <letty na mrakoplas.phil.muni.cz>
Další informace o konferenci Linux