Questions tagged [fdisk]

fdisk was a command-line disk partitioning tool in Linux and old versions of Windows/MS-DOS. It is deprecated on Linux by its inability to handle GPT disks. New systems should use diskpart (Windows) or parted (Linux) to partition disks.

Filter by
Sorted by
Tagged with
1
vote
1answer
32 views

Ubuntu 20.04 new fresh LVM on 5TiB shows just 4.1 TiB space

On a fresh installed Ubuntu 20.04 I attached second disk with size of 5 TiB. I used following commands to create LVM. Disk /dev/sdb: 5 TiB, 5497558138880 bytes, 10737418240 sectors Disk model: Virtual ...
0
votes
1answer
38 views

How i revert creating partition table inside a partition

I wanted to add a partition to the /dev/sda mistakenly, I started fdisk with /dev/sda2 and treated It like a disk. How do i revert it? [email protected]:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE ...
2
votes
1answer
99 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
60 views

Extend file system on Ubuntu 18.04 to use added disk space

Hi I am using a cloud provider (not AWS) to extend the file system on an Ubuntu VM. The provider has extended it, and notified that the extension is on the same volume, but I cannot seem to figure out ...
0
votes
0answers
27 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
1answer
120 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 ...
2
votes
1answer
736 views

How to extend partition in CentOS 8

I hope someone can help me here. I have below partition in my CentOS 8 which is a VM hosted in hyper-v 2012. [[email protected] ~]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs ...
0
votes
1answer
49 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
0answers
22 views

fdisk + exclude the boot partition

I am trying to exclude the boot partition , and get the next partition/device - /dev/sda2 example fdisk -l /dev/sda Disk /dev/sda: 236.2 GB, 236223201280 bytes, 461373440 sectors Units = sectors of 1 ...
0
votes
1answer
56 views

How to increase the free space in a Volume Group in LVM after expend VM disk size

We want to increase the space in a Volume Group in our VM centOS server For example from pvs we see pvs PV VG Fmt Attr PSize PFree /dev/sda2 VLwol lvm2 a-- <100.00g <5.09g ...
0
votes
1answer
92 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
76 views

Hang on FDISK New Partition

I am attempting to reformat a drive. Was originally formatted for Solaris with a ZFS filesystem. I am reformatting for my Linux (debian). I used fdisk to remove all existing partitions. Both fdisk and ...
1
vote
3answers
338 views

Added 4Tb HDD to Iomega IX2-200 but cannot extend the volume

I have a Iomega IX2-200 which came with 2Tb (1.8Tb usable) space. It has two disks set up as RAID1. I am trying to upgrade this to 4Tb disks. So far this is the process I have followed: Remove the ...
1
vote
0answers
21 views

Increase EXT4 size on Debian whilst preserving Data in a VM?

I've been trying to increase the partition size on one of our servers as it was created years ago and was set too small. I've increased the size in the VM that hosts this but now I'm trying to get ...
0
votes
1answer
436 views

BLKRRPART: Device or resource busy, scale up EBS root volume failed using growpart on AWS

Usually i use growpart to rise up size of my root partition on aws, so that i don't have to reboot For some reason in one of my instances, it doesn't work anymore: # df -h Filesystem Size Used ...

15 30 50 per page
1
2 3 4 5
10