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.

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.

157 questions
1
vote
0 answers

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 grow the partition, its because of course it's an…
skrewler
  • 308
  • 1
  • 3
  • 13
0
votes
1 answer

SDA Input / Output error when trying to install OS

We are getting error tryint to zero out data on /dev/sda, see quote below, is there anything that might cause this or any tip on how we could fix this issue? The disk was working perfectly but a previous user said he would "wipe" the disk before we…
Toffe
  • 1
0
votes
1 answer

How to move physical partition into extended partition?

Given a disk layout like this Disk: /dev/sdc Size: 119.9 GiB, 127865454592 bytes, 249737216 sectors Label: dos,…
Max Coplan
  • 103
  • 4
0
votes
1 answer

google cloud resize partition

New Cloud Compute VM instance with the Centos 7 image. Even though I picked 100GB disk size the Centos image had 10GB boot disk. I have tried extending the /dev/sda2 to utilize the unused space but so far I am not successful with xfs_growfs / …
0
votes
2 answers

remotely destroy all data windows 7

we are downsizing our organization and closing several stores. This may sound malicious but actually involves complete remote data destruction for company equipment. My team has been tasked with remote destruction of all data, including the windows…
0
votes
1 answer

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:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE…
Stewart
  • 341
  • 1
  • 3
  • 12
0
votes
1 answer

How to recover an ext4 signature deleted with fdisk?

While resizing an EBS volume on Amazon AWS I accidentally deleted the ext4 signature. root@server:~# fdisk /dev/xvdf Welcome to fdisk (util-linux 2.31.1). Changes will remain in memory only, until you decide to write them. Be careful before using…
jeremyjr
  • 375
  • 2
  • 7
  • 15
0
votes
0 answers

creating a partition makes the server unbootable

I have a server that comes with a softRaid of 2x450gb nvme disks. Since all my data is backupped, I don't need the raid and I want to use the full space instead. From the hosting (OVH) control panel I selected to format only one disk, and what I…
the_nuts
  • 430
  • 6
  • 19
0
votes
3 answers

Restore corrupted partition table in emergency mode without fdisk command

When I manage a VPS, I used fdisk to adjust partitions. But when I reboot, the server complained that the block count 2780624 exceeds size of device (2441472 blocks) and entered emergency mode. I have backed up the partition but the emergency mode…
obfish
  • 103
  • 3
0
votes
1 answer

How to extend centos_root partition on Centos 7 and Hyper-V

I've been struggling to get this right and tried plenty of tutorials with no luck. I have a Centos 7 installed as a guest on Hyper-V and need to expand the disk space on centos root partition. I've already extended VHDX in Hyper-V. I've been…
Jacek Michalski
  • 11
  • 1
  • 1
  • 2
0
votes
1 answer

Change name of GPT Partition (not label) under Windows from command line

I need to change the name of a GPT partition (not a filesystem label), and I haven't found any way to do it under Windows, except for this tool. The problem is that it's interactive and doesn't support being called from the command line, so no…
SuperJMN
  • 151
  • 2
  • 11
0
votes
0 answers

Delete partition and create two other partitions instead one?

i have structure of my hdd, like this: Device Start End Sectors Size Type /dev/sdb1 40 2048 2009 1004.5K BIOS boot /dev/sdb2 4096 409602047 409597952 195.3G Linux RAID /dev/sdb3 409602048…
Piduna
  • 541
  • 4
  • 12
  • 25
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…
Philip
  • 630
  • 5
  • 8
  • 18
0
votes
0 answers

why list of disks not printed with order from sfdisk or fdisk commands

we notice about this problem in last few days on one redhat machine ( version 7.2 ) we notice that order of the disks isn't according to the right order note - sda is the OS instead to get the order from small to end as the following…
shalom
  • 461
  • 13
  • 29
0
votes
1 answer

Unmatched Disk Size Partition

In Centos 7 I see this (virtualized machine on a IaaS): root@hongo developer]# fdisk -l Disk /dev/vda: 42.9 GB, 42949672960 bytes, 83886080 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O…
gdm
  • 459
  • 2
  • 5
  • 19