[root@mail ~]# parted /dev/sdd print
Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another
operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old
backup)?
Fix/Ignore/Cancel? Fix
Warning: Not all of the space available to /dev/sdd appears to be used, you can fix the GPT to use all of the
space (an extra 1048576000 blocks) or continue with the current setting?
Fix/Ignore? Fix
Model: SYNOLOGY Storage (scsi)
Disk /dev/sdd: 4832GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 4295GB 4295GB Linux filesystem
[root@mail ~]#
[root@mail ~]# parted /dev/sdd print
Model: SYNOLOGY Storage (scsi)
Disk /dev/sdd: 4832GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 4295GB 4295GB Linux filesystem
[root@mail ~]#
[root@mail ~]# parted /dev/sdd
GNU Parted 3.1
Using /dev/sdd
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) resizepart 1 100%
(parted) p
Model: SYNOLOGY Storage (scsi)
Disk /dev/sdd: 4832GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 4832GB 4832GB Linux filesystem
(parted) wq
align-check TYPE N check partition N for TYPE(min|opt) alignment
help [COMMAND] print general help, or help on COMMAND
mklabel,mktable LABEL-TYPE create a new disklabel (partition table)
mkpart PART-TYPE [FS-TYPE] START END make a partition
name NUMBER NAME name partition NUMBER as NAME
print [devices|free|list,all|NUMBER] display the partition table, available devices, free space, all
found partitions, or a particular partition
quit exit program
rescue START END rescue a lost partition near START and END
resizepart NUMBER END resize partition NUMBER
rm NUMBER delete partition NUMBER
select DEVICE choose the device to edit
disk_set FLAG STATE change the FLAG on selected device
disk_toggle [FLAG] toggle the state of FLAG on selected device
set NUMBER FLAG STATE change the FLAG on partition NUMBER
toggle [NUMBER [FLAG]] toggle the state of FLAG on partition NUMBER
unit UNIT set the default unit to UNIT
version display the version number and copyright information of GNU Parted
(parted) q
Information: You may need to update /etc/fstab.
[root@mail ~]#