GNU Parted is a free partition editor, used for creating and deleting partitions
Questions tagged [parted]
72 questions
0
votes
2 answers
Extended/Logical partition with parted
I have already partition/installed server and its partition is like following
# parted -l
Model: ATA TOSHIBA THNSNJ51 (scsi)
Disk /dev/sda: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End …
![](../../users/profiles/94438.webp)
ImranRazaKhan
- 115
- 2
- 13
0
votes
0 answers
How to extending a partition onto a new drive in Ubuntu Server
I have a VPS which was installed by my hosting provider. Recently I ran out of space on the original 100GB drive and so they have now allocated an additional 100GB drive to me.
I would like to expand the partition over the new drive so that the…
![](../../users/profiles/6442.webp)
Philip
- 630
- 5
- 8
- 18
0
votes
1 answer
Need to expand LV and partition LUN
I am fairly new with this.
I read many about expanding to the back of the current partition but
how do I expand partition to the front of the disk. I need to keep the data on it as it is 1/4 part of a striped LV. Also the storage on a IBM DS3512…
![](../../users/profiles/359975.webp)
hambog
- 11
- 3
0
votes
2 answers
4 TB external disk on Centos 5
I have an old server running CentOS 5(Kernel 2.6.18-92.el5). It is running a legacy application so I can't retire it yet. I had connected a 2 TB USB disk to it to take backups and the disk is almost full right now.
I bought a new 4 TB disk but the…
![](../../users/profiles/101753.webp)
Debianuser
- 421
- 4
- 10
- 29
0
votes
1 answer
Copying parition tables (only) on two GPT HDDs of 4TB each
I have two hdds of 4TB each on CentOS 7. I need to copy partitions of one to the other so that I can use the second to take periodic backups from the first. Tried sgdisk using -R option but it did not help, while parted was able to read correctly…
![](../../users/profiles/240592.webp)
Quiescent
- 125
- 10
0
votes
1 answer
Centos 6 partition raid
Firstly, I am 20 years windows user. Recently, i decided move to unix and buy a centos server for my work.
Today, i found that I missed a 3TB disk drive, it does not show on my system.
I dont know how to describe it, so please see bellow:
lsblk
NAME…
![](../../users/profiles/361460.webp)
trinvh
- 101
- 2
0
votes
2 answers
resizing a Debian linux partition without losing data
i have made by mistake a small partition partion on my Debian installation and after installing openvz on this bare metal server i notice that i created production vps on this partion and that it reached 100%
this is df -h result :
Sys. fich. …
![](../../users/profiles/250658.webp)
Taha
- 3
- 3
0
votes
1 answer
Increase partition size in debian server
I have a debian server instance and I need to increase the root partition size of it. I installed the parted program and took a backup first. Then I attached another 2GB volume to the instance.
When I run "df" command it gives me this…
![](../../users/profiles/237644.webp)
Asanka sanjaya
- 111
- 2
0
votes
1 answer
How to create two partitions with same size?
I created two partitions using the following commands.
parted /dev/sda --script -- mkpart primary 1 50001
parted /dev/sda --script -- mkpart primary 1948001 1998001
Each partition should have 50001 MB. However, when I use "partclone" trying to copy…
![](../../users/profiles/227967.webp)
user180574
- 225
- 1
- 3
- 11
0
votes
1 answer
lvm-managed gpt partition: partition length exceeds the loop-partition-table-imposed maximum
CentOS 6.4
/dev/sdb is a hardware raid.
I'm getting this error reported from 'parted -l':
Model: JetStor JetStor -VOL#000 (scsi)
Disk /dev/sdb: 39.0TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End …
![](../../users/profiles/158046.webp)
Michael S
- 305
- 2
- 12
0
votes
1 answer
Is there a tool that can take partition table information and partition another based on it?
Is there a tool that can read the partitioning information of a disk and partition another disk based on that information?
I don't know whether parted for instance can partition a disk based on a script, or whether there is a tool that can read a…
![](../../users/profiles/32056.webp)
vfclists
- 1,562
- 5
- 20
- 36
0
votes
1 answer
no special files in /dev/ after partition created with parted
I've created two partitions with parted:
mklabel gpt
mkpart primary ext4 1 80%
mkpart primary ext4 80% -1
after reboot these are properly shown
parted /dev/sdc print
Model: easyRAID Q12 (scsi)
Disk /dev/sdc: 4999GB
Sector size (logical/physical):…
![](../../users/profiles/112385.webp)
Kris_R
- 295
- 1
- 9
0
votes
2 answers
parted subtracting partition size 16896 from size given
When I create a partition using parted(mkpart) giving unit as Bytes, it is creating "size given - 16896" byte sized partition.
Is there any specific reason to less 16896 bytes from the partition size(in bytes) given?
Here, after creating a…
![](../../users/profiles/33217.webp)
kumar
- 423
- 2
- 9
- 23
0
votes
2 answers
GNU Parted and Small Spaces Between Partitions
I wanted to install Slackware on my MacBook Pro (6,2). Because MBP's use GPT instead of MBR, I need to use parted prior to running the installer. I wanted to use LVM, but I cannot even get that far. When creating a partition, I get small bits of…
![](../../users/profiles/40097.webp)
songei2f
- 1,924
- 1
- 20
- 30
0
votes
0 answers
resize "shrink" an .img file from the command line
Shrink an .img file from the command line
I need to be able to shrink the .img for use on other drives. I can do this using gparted, but do not always have a GUI, so I want to translate the gparted step below into parted
to be verbose, here is my…
![](../../users/profiles/401737.webp)
posop
- 205
- 1
- 7