gmirror resize
Miroslav Lachman
000.fbsd at quip.cz
Fri Apr 8 01:39:36 CEST 2016
V aktualni verzi uz gmirror nabizi resize, takze by melo jit vymenit
puvodni mensi disk za vetsi, rebuildnout, vymenit druhy, rebuildnout,
resiznout gmirror a pak by nad tim mohla jit zvetsit partition s growfs.
Zkousel jste to nekdo?
Jeste me trochu mate tohle:
gmirror resize Change the size of the given mirror.
Additional options include:
-s size New size of the mirror is expressed in logical block
numbers.
O jakych logickych blocich se to pise? Hadam spravne, ze v kontextu
gmirroru a rotacnich HDD je tim myslen pocet sektoru, tak jak ho
vypisuje diskinfo? (3907029168)
# diskinfo -v ada0
ada0
512 # sectorsize
2000398934016 # mediasize in bytes (1.8T)
3907029168 # mediasize in sectors
4096 # stripesize
0 # stripeoffset
3876021 # Cylinders according to firmware.
16 # Heads according to firmware.
63 # Sectors according to firmware.
Ta velikost se pro gmirror resize zadavat nemusi, ale ja mam ve zvyku
delat gmirror o neco mensi, nez je disk, aby sel v pripade potreby
vymenit za jiny model, ktery muze byt o par sektoru vetsi / mensi.
Mirek
More information about the Users-l
mailing list