ridimensionare partizioni


da riga di comando


-----------------------------------------
ridimensionare partizioni: restringere
- - - - - - - - - - - - - - - - - - - - -

- umount /dev/...
- e2fsck -f /dev/sdaX'
- resize2fs /dev/sdaX size (la partizione deve essere = o piu' grande del filesystem)
's', 'K', 'M', o 'G', 512 byte sectors, kilobytes, megabytes, o gigabytes
- parted resizepart [number] [end]
- mkpart PART-TYPE [FS-TYPE] START END creazione partizione
- mkfs -t xxx /dev/... creafione filesystem
- partprobe inform the OS of partition table changes

-----------------------------------------
-----------------------------------------
ridimensionare partizioni: ampliare
- - - - - - - - - - - - - - - - - - - - -

- parted resizepart [number] [end]
- resize2fs /dev/sdaX size
's', 'K', 'M', o 'G', 512 byte sectors, kilobytes, megabytes, o gigabytes

-----------------------------------------


Articolo tratto da: #341724 Linux - http://sacarde.altervista.org/
URL di riferimento: http://sacarde.altervista.org/index.php?mod=read&id=1504537863