The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
7 views

fdisk and parted won't work on a USB stick with Fedora 23 alpha 2 x86_64

So I burned a Fedora 23 alpha 2 on a 16GB USB stick through dd if=path/to/fedora.iso of=/dev/usb_device bs=512 I used bs=512 because the sectors on the stick are 512 bytes. Opening the stick in ...
0
votes
0answers
13 views

Defining partition boundaries with parted

When creating a partition using parted there are at least two options for setting the start and end blocks. The first is to use the size in whichever unit is preferable # mkpart primary 1 1024M # ...
0
votes
1answer
38 views

How to restore a saved partition table to another disk with parted

OS: Ubuntu 10.04 I have saved my partition layout from sda and want to restore it to my new disk sdb. I have used the following command to save the layout, but how can i restore it to my new disk ...
0
votes
0answers
62 views

Ubuntu 12.04 and Hardware RAID 5 and LVM

I have an existing database server setup with RAID5 (3pcs 1 TB disk - usable is 2TB). One of its partition is /data is LVM. There is production data already in the First RAID 5 so we opted to create ...
0
votes
1answer
486 views

Fdisk reports: Partition 1 does not start on physical sector boundary. Partition created using Parted

I used Parted to create a partition on my server /dev/sdb. When I run fdisk -l, Warning Partition 1 does not start on physical sector boundary appears. Disk /dev/sdb: 2000.3 GB, 2000341917696 bytes ...
1
vote
1answer
563 views

How to script parted to resize partition on running root filesystem?

I have a VM template that I use for building other VMs using virt-clone / KVM. The VM template is 4GB to save space. The storage for VMs that I build from this are on iSCSI targets or LVM volumes ...
0
votes
2answers
164 views

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 ...
0
votes
1answer
513 views

Device file in /dev/mapper/ present even after removing partition with parted

These observations are from CentOS 6.3, 6.4 and 6.5. I have a multipath device with a single partition: # ls -l /dev/mapper/ total 0 crw-rw---- 1 admin root 10, 57 Dec 22 12:52 control lrwxrwxrwx 1 ...
2
votes
1answer
104 views

Regular and repetitive sudo alerts from several Linux hosts

I've got several hosts running CentOS 5.11 on the LAN. Lately we've been getting fairly regular sudo alerts (via email) from attempted sudo commands by non-authorized users. Been Googling in case the ...
2
votes
1answer
194 views

Recreate XFS Partition with Existing Filesystem

I have a CentOS server with two RAID arrays. The OS array and a DATA array. Long story short, recently had tons of trouble with the OS and had to reload CentOS (was 5.7 and went to 6.5). Everything ...
0
votes
1answer
156 views

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 ...
0
votes
0answers
91 views

systemrescuecd 4.3.1: parted cannot inform kernel of change

I am trying to use parted (3.2) on systemrescuecd (4.3.1), but keep getting the error message similar to below. Error: Partition(s) 2, 3, 4 on /dev/sdd have been written, but we have been unable to ...
2
votes
0answers
850 views

CentOS kickstart automated setup with parted / RAID

I'm trying to use parted to partition my entire drives automatically during the CentOS kickstart install, however, I'm getting two issues with my install. I want to kickstart my installs across ...
0
votes
1answer
129 views

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 ...
3
votes
1answer
788 views

setting the 'hidden' attribute on a partion from Linux (parted) isnt respected by Windows?

when I set the 'hidden' flag on a GPT partition it's not respected by Windows 8.1 (Windows attempts to mound, throws UI, etc). However if I set the 'hidden' flag from diskpart.exe it is respected - ...
11
votes
1answer
2k views

Is there any way to fix a corrupted LDM database?

TL;DR: Are there any tools/approaches to diagnosing and fixing LDM (Logical Disk Manager) metadata structures without recreating from scratch? Full description: I have two SSD drives ...
0
votes
1answer
337 views

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': <snip> Model: JetStor JetStor -VOL#000 (scsi) Disk /dev/sdb: 39.0TB Sector size (logical/physical): ...
1
vote
1answer
795 views

Parted automatically adding a filesystem on mkpart

I created an ext4 file system on /dev/sda1 yesterday to test the drive before trying to add it to a RAID. It's a 3 TB drive, so I'm trying to use parted to do all my partition stuff. I've done an ...
0
votes
1answer
973 views

Error: partition length of 6442450944 sectors exceeds the loop-partition-table-imposed maximum of 4294967295

I'm trying to create a partition on a RHEL 6.3 machine, but parted is giving me the following error: $ sudo parted /dev/vdb mkpart logical 1 Error: partition length of 6442450944 sectors exceeds the ...
4
votes
1answer
1k views

Resize openSUSE 12.3 GPT ext4 partitions in a RAID1 disk array

I have a software raid configured (/dev/md2) which has assigned the partitions sda3 and sdb3 from two 3TB disks (sda and sdb). The partition types are GPT not LVM and file system is ext4. Now, the ...
1
vote
1answer
100 views

aligning partition boundaries of already installed system

I have qemu raw disk which includes two partitions. The second partition is not aligned according to ssd principles. I will move this into Smartcloud environment and they suggest aligning according to ...
1
vote
2answers
1k views

How to install CentOs 5.8 on 3TB disk with RAID 1 on Hetzner EX 4S (10 TB) server?

I have installed centos 5.8 with Hetzner server rescue mode but its disk parttion table is in MSDOS formate which does not support more than 2 TB space of disk so i need to change the partition table ...
0
votes
1answer
685 views

Is it safe to change the name of a partition in a gpt table using parted?

I guess it IS but I didn't find any explicit statement that changing the name does not affect the data in the partition in the parted documentation and since I could loose a lot of data I want to know ...
3
votes
1answer
300 views

kpartx verbose info: what does it mean?

When mounting images with the wonderful kpartx in verbose mode it displays some, likely very useful, information: # kpartx -av wheezy_cln.img add map loop0p1 (252:2): 0 131072 linear /dev/loop0 2048 ...
1
vote
1answer
128 views

fdisk -l only displays boot partition

I have a SAN, and it's able to read and write to the 50TB RAID just fine, but when I run fdisk -l it only lists the boot partition of the SAN server, and doesn't display anything about the other ...
0
votes
1answer
89 views

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 ...
7
votes
4answers
8k views

Does LVM need a partition table?

It appears that I am able to successfully do a pvcreate on top of a raw block device, without ever taking the step of creating a partition table. I am then able to create a volume group, logical ...
1
vote
0answers
332 views

Restoring a GPT XFS partition?

I recently added some storage to a RAID array with a single large XFS volume. To expand the volume I normally use parted to remove the partition and then recreate it so that it spans the entire ...
0
votes
1answer
241 views

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) ...
0
votes
2answers
71 views

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 ...
1
vote
2answers
2k views

Optimal way to format 20TB partition with XFS in linux? [closed]

I have a 20TB RAID5 array (LSI 9265-8i / 8 x 3TB 7200rpm drives) configured with a 1MB stripe size. What's the optimal way to partition, and format, this partition in Linux to maximize performance ...
1
vote
1answer
2k views

Debian 6 installation - unable to partition/mount with an Intel Raid Controller (readonly)

I'm trying to install a Debian 6 (newest version) on a Server which has 2 RAIDs. First RAID is configured on an Intel controller and is a simple RAID 1 with 3 partitions (swap, /, and a special data ...
2
votes
1answer
2k views

Parted equivalent of sfdisk -d

I have to dump all my GPT partitions from one drive to another. The MBR equivalent would be sfdisk -d. Thanks!
3
votes
1answer
717 views

Is it possible to repartition a running Debian system without losing data

We need to resize the partition that is mounted to /var on a running machine. The only way to access it is via SSH, so live CD is not an option for us. Can we repartition the file system without ...
3
votes
3answers
2k views

Howto align partitions in Linux + NetApp

NetApp support has suggested us to align partitions to improve I/O performance, in short: starting sector must be divisible by 8. How can I move the starting point in a misaligned partition -in ...
1
vote
1answer
949 views

How to translate sfdisk command to parted command

I'm currently involved in modifying some system setup scripts to use parted rather than sfdisk, and I'm not entirely sure how to convert those commands. The existing sfdisk command is passed numeric ...
0
votes
2answers
1k views

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. ...
2
votes
2answers
3k views

how can i move ext3 partition to the beginning of drive without losing data?

I have a 500GB external drive. It had two partitions, each around 250GB. I removed the first partition. I'd like to move the 2nd to the left, so it consumes 100% of the drive. How can this be ...
2
votes
1answer
452 views

Partitions on Linux and their CHS dependance

Recently I came into a problem with partitioning WD20EARS disk (with 4k sectors). I needed partitions to be aligned correctly so I just used parted in "unit s" mode and started all partitions at mod8 ...
5
votes
2answers
20k views

'Unrecognised disc label' - when using parted with qemu images

I have a Linux from scratch LiveCD running on qemu vm. I'm using this command to create a hda disc for qemu: qemu-img.exe create -f qcow2 base-linux.img 5G Then I run my vm: qemu.exe -m 1024 ...