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
2
votes
1 answer

Can't run drbdadm up with DRBD 8.4 on CentOS 7.3

Nodes: node1 node2 Use this way installed DRBD on both nodes: rpm -ivh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org yum -y install drbd84-utils kmod-drbd84 Added new hard…
cloud_cloud
  • 165
  • 2
  • 4
  • 15
2
votes
1 answer

Unable to extend partition with gdisk on XenServer 6.5

I'm having trouble extending my partition on a XenServer 6.5. I originally had a 1.4TiB device (hardware RAID5) that I since upgraded to 10.9TiB. I upgraded the RAID by swapping out one disk at a time until the 4 disks were replaced. I then used…
Eric B.
  • 479
  • 1
  • 6
  • 15
2
votes
1 answer

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 to delete and recreate the partition, after the…
nelasx
  • 161
  • 1
  • 9
2
votes
1 answer

How can i split a partition on Ubuntu?

I just purchased a brand new server on OVH with disk specification: 2 x480GB of SSD SOFT. When i do df -h, the output is: Filesystem Size Used Avail Use% Mounted on /dev/root 20G 13G 5.7G 69% / devtmpfs 16G 12K 16G 1%…
Aarushi
  • 121
  • 4
2
votes
2 answers

LSI replace disk in raid1 with larger drives, how to expand raid to use free space

LSI MegaRAID SAS 9240-8i Situation: 2 - 128GB drives in a raid1 I've replaced each drive, one at a time to let the raid rebuild. The raid now consists of 2 - 256GB drives in raid1 Filesystem Size Used Avail Use% Mounted on …
JCats
  • 87
  • 2
  • 13
2
votes
0 answers

fdisk with lvm: Why is first sector at 3072 instead of 2048?

Using ubuntu 12.04, i have a xen-server and several vms. Considering /dev/vm-disks/testes - an lvm volume partitioned during OS install /dev/vm-disks/testes-home - another lvm volume, unpartitioned Doing fdisk at the xen server i can see that the…
Caveman
  • 161
  • 1
  • 1
  • 7
2
votes
0 answers

shrink live mdadm partition with LVM

My goal is to shrink an mdadm RAID 1 partition while the system is running. I have to disks sda and sdb, which build my two RAID partitions md0 and md1. On md1 I use LVM, md0 is the /boot partition. I already reduced the size of the LVM physical…
user2323470
  • 183
  • 4
  • 9
2
votes
1 answer

Drawbacks with smaller fdisk partitions, mdadm RAID10, LVM and KVM?

I am setting up a new virtualized server with KVM and LVM. The KVM host and all guests will be installed on a SSD drive. Each guest will have access to a RAID10 array made of 4x3TB sata drives, used for data and storage. My problem is that I have…
2
votes
1 answer

sfdisk given size exceeds max allowable

Hello i have a failed driver in a raid so i had to replace it with a new hard disk. The problem is that although both hard disk are Seagate 1TB they differ slightly in size # sfdisk -s /dev/sda: 976762584 /dev/sdb: 976761527 and when i try to use…
Debrian
  • 154
  • 2
  • 12
2
votes
1 answer

Replacement raid1 drive is one block smaller. What to do?

Apparently once should always leave a bit of empty space at the end of each raid1 partition. But if we're too late for that, what can be done if a replacement RAID1 drive is slightly smaller than the surviving drive? Can the array be resized to be…
Bryce
  • 561
  • 5
  • 13
2
votes
1 answer

how to sync/flush after fdisk in linux (busybox)

when I change the partition table in Linux (busybox) and exit fdisk I'm still able to mount the old partitions, until I perform a reboot for example a) system is setup and has a /dev/sda1 and /dev/sda2 b) enter fdisk, delete both partition 1…
stuck
  • 687
  • 2
  • 10
  • 23
2
votes
1 answer

Adding Extra Hard Drives Debian Fdisk

well I just got a new server and it's a little different than what I'm use to, when I run cfdisk I get WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sda: 3000.6 GB,…
Belgin Fish
  • 919
  • 5
  • 17
  • 31
2
votes
1 answer

How can I change a partition mount to var and still boot up?

My first question here on server fault. In my haste, I set up a local server with Centos 6.2 and let the Centos installer handle the partitions. Big mistake, I know. Anyway, the only problem I have with it is that the majority of the hard drive…
Brendan
  • 145
  • 2
  • 10
2
votes
1 answer

Where did the free space go?

I have installed CentOS 5.7 64 Bits in my server which has 4x300 GB SAS drives on hardware RAID 10. At the installation, I chose default partitions. Here are the commands output: [root@server ~]# fdisk -l Disk /dev/sda: 598.8 GB, 598879502336…
David Adders
  • 43
  • 1
  • 5
2
votes
2 answers

Partition size inconsistency after dd clone

We have recently upgraded a system HDD - it was 160GB, now 2TB. We upgraded as we were running low on space, mainly on /usr, and also on /home. I prepared the new drive with a Live CD and GParted (and made some partitions larger). Then I cloned /,…
a different ben
  • 121
  • 1
  • 5
1 2
3
10 11