English | Magyar
JS ki | CSS ki | Ékezetek ki | HiContrast
Lapozó:  (0 - 1424) 
<== | ==>
Ugrás a végére | Összes megjelenítése | Utolsó oldal
OpenOpera patches | Opera-SSL patches | Opera 12.15 source (Git repository) | Opera 12.15 source (Torrent) | Opera internal pages | Otter Browser Linux x64 - Qt5.15.2/QtWebKit5.602.1 (2024.04.27. 20:05)
OS for MC680x0 | OS for PPC | OS for Sparc64 | besztofbégéaefcé | CSÉNDZSLOG | WebToolz | DDG Shit Filter | Google Shit Filter | Progz | Fast CSS Box | Browser | OS | Agent | Statisztika | BBCode
Monospace font-family: Courier New | Browser default monospace
Email értesítő / Email notification ===> 
Keresés
Σ: 1 post

TCH  (statz) Főfasz
#1, Főfasz (10443)
2564 | #4d54 | ^ | Idézet | Sat, 10 Aug 2019 00:44:21 +02
178.164.*.* Linux x86 Opera Classic Hungary *.pool.digikabel.hu
Van nekem egy (64-bites) FreeBSD 11-esem VBox-ban, egy 8 GB-s fixed-size VDI image-ben. Sajnos sikerült egy pkg install xyz kapcsán telerakni a szabad helyet. Baj ugyan nem lett belőle, de több hely kellett. Rákerestem, hogy hogyan lehet átméretezni VDI image-eket:
VBoxManage modifyhd FreeBSD64.vdi --resize 12288
Aha, ahogy azt a Móricka elképzeli: VBOX_E_NOT_SUPPORTED, mert csak dynamic VDI-t lehet átméretezni. Hogy lehet átállítani? Azt sehogy, de lehet klónozni:
VBoxManage clonehd FreeBSD64.vdi FreeBSD64_tmp.vdi
(Ha nem adunk meg típust, akkor dynamic lesz.) Utána csatoljuk le az eredetit és töröljük is ki, mert már nem kell.
VBoxManage closemedium disk FreeBSD64.vdi
rm FreeBSD64.vdi
Most lehet átméretezni.
VBoxManage modifyhd FreeBSD64_tmp.vdi --resize 12288
Akkor állítsuk vissza fixed-re:
VBoxManage clonehd FreeBSD64_tmp.vdi FreeBSD64.vdi --variant Fixed
Error:
Usage:

VBoxManage clonemedium      [disk|dvd|floppy] <uuid|inputfile> <uuid|outputfile>
                            [--format VDI|VMDK|VHD|RAW|<other>]
                            [--variant Standard,Fixed,Split2G,Stream,ESX]
                            [--existing]


Syntax error: unknown option: -–variant
Anyád. És ha elérakom a kapcsolót?
VBoxManage clonehd --variant Fixed FreeBSD64_tmp.vdi FreeBSD64.vdi
Akkor jó. Hát ez remek. Ugyan még a help is azt mondja, hogy forrás, cél és aztán a típus, de úgy csak azt írja, hogy ismeretlen opció. Fordítva meg megy. Mindegy. Töröljük az átmenetit:
VBoxManage closemedium disk FreeBSD64_tmp.vdi
rm FreeBSD64_tmp.vdi
Akkor sikerült átméretezni a fixed VDI-t, de most a partíciót is át kell. Húzzuk fel az image-et device-nak:
modprobe nbd max_part=16
qemu-nbd -c /dev/nbd0 FreeBSD64.vdi
partprobe /dev/nbd0
Aztán parted:
parted /dev/nbd0
Beugat, hogy Error: The backup GPT table is not at the end of the disk, as it should be. Fix, by moving the backup to the end (and removing the old backup)? Javíttassuk meg vele (y). Aztán:
resizepart 3 12280
quit
Lehet eltávolítani az eszközt:
qemu-nbd -d /dev/nbd0
rmmod nbd
Akkor átméreteztük a partíciót, most a filerendszert is át kell. Lehet felbootolni a FreeBSD-t és kérni egy zpool status-t, hogy megtudjuk, hogy mi a pool és a benne rejlő device neve. (zroot és ada0p3) Aztán:
zpool online -e zroot ada0p3
Ezután lehet megismételni az előbb félbeszakadt telepítést.


English | Magyar
JS ki | CSS ki | Ékezetek ki | HiContrast
Lapozó:  (0 - 1424) 
<== | ==>
Ugrás a végére | Összes megjelenítése | Utolsó oldal
OpenOpera patches | Opera-SSL patches | Opera 12.15 source (Git repository) | Opera 12.15 source (Torrent) | Opera internal pages | Otter Browser Linux x64 - Qt5.15.2/QtWebKit5.602.1 (2024.04.27. 20:05)
OS for MC680x0 | OS for PPC | OS for Sparc64 | besztofbégéaefcé | CSÉNDZSLOG | WebToolz | DDG Shit Filter | Google Shit Filter | Progz | Fast CSS Box | Browser | OS | Agent | Statisztika | BBCode
Monospace font-family: Courier New | Browser default monospace
Email értesítő / Email notification ===> 
Keresés

Név: (max 255 byte)

Email: (max 255 byte) Nem kötelező!

Üzenet: (max 65536 kar.) 65536-0=65536




crap_vkn v4.34.0 by TCH
Thx to saxus for the escaped string decoder function (PHP), the realIP function (PHP) & the SQL handle layer (PHP), to thookerov for the int_divide function (PHP), to Jeff Anderson for the getSelText function (JS), to Alex King for the insertAtCursor function (JS), Flood3r for the new CSS styles, Pety for the spamprotection idea and some design and comfort ideas, MaxMind for the IP2Country database, famfamfam for the flags of countries and an unknown PHP programmer for the removeAccents function.



Kecskebaszók ide!