GPT Partition vergroessern

Hi,

ich hab ein Probem mit einer GPT Partition. Ich kann sie nicht vergroessern. Parted scheint nur das Anpassen der Partition garnicht zu unterstuetzen, meckert aber rum, dass er das Dateisystem nicht identifizieren kann. Schauts euch am besten selbst an:

Code:
root@quadstor:~# fdisk -l /dev/sdj

WARNING: GPT (GUID Partition Table) detected on '/dev/sdj'! The util fdisk doesn't support GPT. Use GNU Parted.

Note: sector size is 4096 (not 512)

Disk /dev/sdj: 859.0 GB, 858993459200 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 4096 = 65802240 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 131072 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdj1               1       13055   838860796   ee  GPT
Partition 1 does not start on physical sector boundary.
root@quadstor:~#

Code:
root@quadstor:~# parted /dev/sdj
GNU Parted 2.3
Using /dev/sdj
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            
Model: QUADSTOR VDISK (scsi)
Disk /dev/sdj: 859GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt

Number  Start  End    Size   File system  Name   Flags
 1      131kB  537GB  537GB               files

(parted)

Code:
(parted) resize                                                           
WARNING: you are attempting to use parted to operate on (resize) a file system.
parted's file system manipulation code is not as robust as what you'll find in
dedicated, file-system-specific packages like e2fsprogs.  We recommend
you use parted only to manipulate partition tables, whenever possible.
Support for performing most operations on most types of file systems
will be removed in an upcoming release.
Partition number? 1                                                       
Start?  [131kB]?                                                          
End?  [537GB]? 858GB                                                     
Error: Could not detect file system.                                      
(parted)

Gruesse
serow
 
Ok, hab gelesen, dass gparted ext4 garnicht kennt. Aber ich hab sowieso den Wald vor lauter Baeumen nicht gesehen: Hab die Partition einfach mit rm entfernt, mit mkpart wieder erstellt mit demselben Start Sektor und als Endsektor -1s. Danach resize2fs.

Gruesse
serow
 
Zurück
Oben