Questions tagged [parted]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
47 views

RAID10 software raid converted as RAID0

On one of the server, The RAID10 software raid volume had became RAID0 after one the disks in the RAID10 disk group failed. Also the converted RAID0 volume has become inactive. How can we recover the ...
0
votes
0answers
27 views

linux + how to extend sdd1 partition based on that sdd disk have enough space

We have rhel server 7.2 version ( VM machine ) with sdd disk sdd disk have parted partition sdd1 , and our goal is to increase the sdd1 partition to 10g from current 1K size From lsblk sdd ...
0
votes
0answers
26 views

speed difference between FS created by LVM and parted cmd

I was testing read/write operation on FS to check speed via dd cmd. /app - created with LVM /app1 - created with parted when I run below cmds, can see huge diff in speed for both operation with same ...
2
votes
1answer
175 views

Failed to Partition a 10TB HD?

Before I tried to partition a 10TB HDD again, parted saw it: # parted /dev/sdb (parted) print list Model: ATA ST10000NM0016-1T (scsi) Disk /dev/...
0
votes
0answers
28 views

How to add space to /home in LVM when HDD is detected and hard disks are in the same location

I have a website having around 25TB disk space in /home partition. Tonight I figured out I'm running out of space, so I checked my hard disks (they are in raid 0 array) and found I had a file around ...
0
votes
0answers
37 views

How do I shrink an ebs volume on ec2 running debian 10 with parted?

I've been searching high and low on how to shrink an ebs volume from 8gb down to 2gb running debian 10. I was successful with debian 8 after following a tutorial, but the partitions on a debian 10 ...
0
votes
1answer
234 views

parted + usage help not described the resizepart

we need to use parted command as example on rhel server 7.2 version parted -s /dev/sda resizepart 2 but from parted help we not find the option resizepart example: parted -s /dev/sda resizepart 2 ...
0
votes
1answer
63 views

rhel + parted failed after increasing OS VM disk and rescan

we have VM rhel machine version 7.6 example from lsblk lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk sda 8:0 0 300G 0 disk ...
0
votes
1answer
96 views

add additional partition after increasing OS disk size

As part of add additional partition – sda3 we extend the OS disk from 50g to 120g from the vsphere client ( VM Linux server ) And we perform rescan , instead of reboot lsblk NAME MAJ:MIN ...
0
votes
1answer
103 views

10TB HDD has a 9999GB partition but only allows me to access 215gb

parted print all result I have a 10tb hdd with 3 partitions and one flag (not sure what that means). The flag is set as 215gb and that's all i'm able to access in the filesystem. I'm running Ubuntu ...
1
vote
0answers
945 views

unable to convert MBR disk to GPT

I've got a MySQL DB running in EC2 that I've had to continually add space to the EBS volume, then grow it (using growpart/xfs_growfs). I finally hit 2TB and couldn't figure out why I could no longer ...
0
votes
1answer
65 views

Restore root on LVM with one disk (seperate boot partition)

I did a stupid thing and accidentally removed my LVM partition in parted. Since this was a single disk LVM, parted rescue finds an EXT2 partition in the sectors, but I am unable to boot from that ...
0
votes
2answers
747 views

Partition didn't resize after increasing OS Disk Size in Azure

I have a Ubuntu VM which has an unmanaged OS disk associated with it. When we increased the size of the unmanaged OS disk from 30 GB to 50 GB(after deallocating the VM and increasing its size from ...
0
votes
1answer
184 views

Partition didn't reflect the changes after increasing OS Disk Size in Azure

I have a Ubuntu VM which has an unmanaged OS disk associated with it. When we increased the size of the unmanaged OS disk from 30 GB to 50 GB(after deallocating the VM and increasing its size from ...
0
votes
1answer
2k views

Extending a partition on a VMware disk in Linux

I'm having some problems trying to extend a Disk. I'm using a VMware Debian 9 virtual machine on an ESXi host. After extending the virtual disk-size by 32 GB and rebooting the VM I see: bob@apollo:...
0
votes
2answers
2k views

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

Resize partition using parted

There is a pretty big file-server(~85TB) running xfs file system, on Centos 6.9 which we use for our backups. We were out of space, so I added 10 new similar drives to the array and rebuilt RAID 6 ...
1
vote
0answers
2k views

vgdisplay not showing free PE / Size space

I have Dell PowerEdge R730xd running Centos 6. I just added more physical disks to our raid and used open manage to increase the raid size, which is now at 67,063.50GB. I'm using xfs and have a lv (...
0
votes
0answers
46 views

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 ...
1
vote
0answers
198 views

XEN Server 4.4.4 - Cannot create disk partition

In an Oracle VM Server we created a 2nd partition on /dev/sdb, now we want to create the ext4 filesystem on it, but mkfs -t ext4 /dev/sdb2 returns this: mke2fs 1.43-WIP (20-Jun-2013) /dev/sdb2 is ...
3
votes
1answer
2k views

ZFS on Linux: Deleting the "Solaris reserved 1" partition. Did I break anything?

I have a Debian 8 VM with: 1x virtual root disk 1x virtual data disk with a ZFS file system on it. When I initially created the ZFS file system, I did not manually create partitions, but simply ...
2
votes
1answer
3k views

extend MBR disk with ext4 partition to over 2 TB on CentOS 7

I have a CentOS 7 machine with two disks mounted [ /dev/sda and /dev/sdb ] using ext4. I need to extend /dev/sdb1 to over 2 TB. I extended the disk from 2 TB to 2.5 TB (google cloud) After using fdisk ...
0
votes
1answer
86 views

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

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

Shrink partition to exactly fit the underlying filesystem size

Recently i shrinked an ext4 filesystem size to 500GB df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 493G 64G 404G 14% / now i want to shrink the partition size to fit ...
3
votes
2answers
10k views

pvs not showing correct available space

Recently installed RHEL7 on a PowerEdge R320 with the following drives: 2 x 300GB sas 15k 2 x 1TB sas 7.2k When setting up LVM during installation I purposefully left over several hundred GB free in ...
1
vote
1answer
4k views

undo rm in parted - recover parition? cancel operations?

I accidentally removed a partition on my primary partition. I thought I was on a removable drive. I clearly should have been paying more attention... I didn't "save" or "exit" parted, but it looks ...
0
votes
1answer
51 views

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

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

How to remove SWAP partition, and add back to root partition in cli

I am on Ubuntu 14.04 server with only ssh access into the machine in question. Someone else setup this machine, and they added a ridiculous swap space...a little more than half of the SSD. Here's ...
1
vote
1answer
4k views

Why there is a difference in size reported by lsblk, gdisk and parted

[anaconda root@861767 ~]# lsblk /dev/sda NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 512M 0 part └─sda2 8:2 0 465....
12
votes
4answers
62k views

How to reset a Harddisk (delete Mbr & delete Partitions) from the Command Line with a script without rebooting?

To start from a clean state I need to reset the hard disk to an empty state from command line. It is not about running a wipe utility, the data don't have to be overwritten. This question is quite ...
1
vote
0answers
480 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
1answer
4k 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 ...
2
votes
1answer
8k 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 ...
3
votes
1answer
10k 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
2k 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 ...
1
vote
1answer
6k 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
418 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
2answers
3k 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
590 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 ...
4
votes
0answers
5k 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
749 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 ...
5
votes
1answer
6k 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 - ...
19
votes
2answers
6k 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 set up ...
0
votes
1answer
605 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
3k 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 ...
1
vote
1answer
4k 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 ...
6
votes
1answer
2k 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
167 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 ...