Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [partition]

A partition is a means of logically dividing a computing resource (most frequently disk storage)

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

Ex Raid Disk appears as two disks [closed]

i have two 6TB HDDs, which are out of a RAID System. When i connect them, the show up as two different disks. Disk1 2.2TB and Disk2 3.8TB. How can i setup the Disks to show up as 1 disk? This is my ...
BSDGuy's user avatar
  • 1
0 votes
1 answer
32 views

How do i safely add a missing partition to existing raid1 array in RHEL8

I did a RAID1 to lvm for / partition but i forgot to RAID1 /boot and /boot/efi standard partition, how do i safely add the missing partitions into RAID1 array? click here for image of partitions
wlchew's user avatar
  • 1
6 votes
6 answers
2k views

Questioning why LVM for the OS Disks in cloud environments is not recommended

I recently came across a recommendation from Microsoft regarding the configuration of Logical Volume Management (LVM) in cloud environments, and I find it somewhat puzzling. The recommendation states ...
supmethods's user avatar
0 votes
0 answers
45 views

Repartitioning proxmox root/data LVM and zfs pool recovery

Ok so I created my first proxmox virtual environment about a month or two ago and due to inexperience and miscalculations I created a partition table I am not really happy with. Along with that it ...
user1884295's user avatar
0 votes
0 answers
29 views

I gave a 2.2 TB hard disk but only 100GB (sda->sda3->ubuntu--vg-ubuntu--lv) mounted in / [duplicate]

I have ubuntu 22.04 server on my vm in esxi and iam new for this The size of my current directory(/home/<username>) after login is only 100GB df -h . Filesystem Size ...
Yudha Restu's user avatar
1 vote
2 answers
73 views

Expand primary partition with additional Volume on OVH instance with Linux Ubuntu

I'm trying to setup a VPS on OVH. I've chosen the smallest public cloud general purpose instance and installed Ubuntu 22.04. Here are the system specifications: 8 GB RAM 2 vCore (2.3 GHz) 50 GB NVMe ...
Filippo Pagano's user avatar
0 votes
1 answer
292 views

Unable to run e2fsck on partition. Claims the partition is "in use"

My system claims my partition is in use, but I can't figure out why: root@racknerd-05beb8:~# e2fsck -fvy /dev/vda1 e2fsck 1.46.2 (28-Feb-2021) /dev/vda1 is in use. e2fsck: Cannot continue, aborting. ...
Daniele Testa's user avatar
1 vote
1 answer
404 views

How to rescue an encrypted LUKS partition that was partially modified by a Windows tool?

On a system with dual boot, the Windows tool Dell SupportAssist started to modify partitions now I ended up with a broken Linux installation. The Linux installation is/was Ubuntu with an encrypted ...
alexanderadam's user avatar
0 votes
0 answers
222 views

How do I merge 2 partitions on AWS after expanding the volume and filesystem on linux

I have the original volume showing at 8GB on the default instance when i created it on AWS. Then I went through the process of expanding the existing volume to 500GB and then expanding the filesystem (...
marciokoko's user avatar
1 vote
0 answers
122 views

Different size of disk in disk management and my computer, after extend in Hyper-V

I have a problem after live extend disk from Hyper-V on running machine. I normally increase the disk size from Hyper-V (300GB->1.3TB), then on system using disk management for extend. In this case,...
djego96's user avatar
  • 27
0 votes
1 answer
118 views

CentOS LVM Extension Trouble

We have a CentOS 8 server that has recently had a lvm fill up on available space. This was not our monitoring system since it watches the disk space and not the volume space. Regardless I am having ...
bShaver's user avatar
  • 43
0 votes
1 answer
278 views

How do I get my raid array back and mounted after reboot

I had created a raid-1 array for two drives (sde and sdf) using the normal mdadm process and had created it under md1 and mounted it to /mnt/storage. After a reboot md1 no longer exists. My /mnt/plex ...
Adam's user avatar
  • 1
0 votes
1 answer
43 views

On SD card the patitions come back after removing them

A little funny problem I'm curious about the reason. I found an old SD Card, I even don't remember that it was used for. So I want to remove the old partitions and use it for some of my devices. And ...
Paul Zakharov's user avatar
0 votes
1 answer
79 views

BTRFS partition auto mounts ro

i have my /home/ on a btrfs partition and it appears like after loggingf in to Plasma with my default userm, it becomes mounted ro (rw after boot before login). I booted a USB live system asnd ran ...
stdcerr's user avatar
  • 246
2 votes
1 answer
209 views

How to Root volume partition without losing the data

We have this scenario : I to increase the disk space of one of our VM, Disk details : root@Test-01:~# blkid /dev/vda2: UUID="0eae0eb4-92ed-45ec-aa99-6d606f17e70a" TYPE="swap" ...
sam23's user avatar
  • 59
1 vote
1 answer
196 views

Differences between sfdisk and fdisk on LVM disk extend

In order to semi-automate LVM partitions extend on Debian 11 VMs clones from a template, I feel a bit stuck when I try to script it through sfdisk compared to interactive fdisk. Here's the original ...
motorbass's user avatar
  • 353
0 votes
1 answer
731 views

How to extend root volume / with an extra storage disk

I am trying to add a 2nd disk to a CentOS 8 instance and I want to extend the entire storage utilizing all the available extra space; 1st storage: 40 GB 2nd storage: 100 GB (added later) The problem ...
Broken Arrow's user avatar
0 votes
1 answer
360 views

Convert MDADM RAID disk to non-raid disk

I have an existing RAID1 disk that is my boot & root drive locally. I want to convert this disk to a non-RAID disk and allow boot & root to be mounted without mdadm. What is the best way to ...
Derek Edwards's user avatar
1 vote
1 answer
113 views

How to re-organize partition sizes on a Software RAID on Ubuntu?

I have an existing Software RAID consisting of 4 partitions on a Server running Ubuntu 22. I want to decrease the size of the md2 partition and increase the size of the md3 partition. How do achieve ...
delete's user avatar
  • 113
0 votes
0 answers
3k views

/dev/md0 - wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error

I recently had issues with a raid filesystem I created and had some bad luck. I started creating a raid0 one one disk with the intent to expend it afterwards. I had data on two drives and had only one ...
noje89's user avatar
  • 1
1 vote
1 answer
320 views

Disk Size is not Consistent Between fdisk and parted

I have noticed some difference in size displayed using parted and fdisk. I have a disk attached with a size of 20GB. Executing the fdisk command shows that the size is 20GB which is correct. fdisk -l /...
Grabinuo's user avatar
  • 113
0 votes
1 answer
1k views

migrate root partition to another partiton

I have remote server with ubuntu 20.04 I can't use livecd or VM console I want to migrate my root partiton from /dev/sda2 to /dev/sda5 my disk configuration is: root@app-server:~$ lsblk NAME MAJ:MIN ...
supportth's user avatar
2 votes
1 answer
954 views

Efficient way to write a sparse partition to a disk image?

I generate an ext4 partition image that contains a minimal Debian file system, then write that partition image into a full disk image. I am looking for the fastest way to do the write. Consider a ...
Fadeway's user avatar
  • 123
1 vote
1 answer
282 views

Cannot remove LVM snapshot

I am running Debian 11, using LVM. The root partition is /dev/mainvg/lvroot. I created a snapshot of the root partition by doing lvcreate -L5G -n bkp_lvroot -s /dev/mainvg/lvroot. My system was in ...
archygriswald's user avatar
5 votes
1 answer
3k views

Why is disk label type dos but the partition system is GPT?

And how can it be larger than 2TB if it's dos? Disk /dev/sdi: 6000.6 GB, 6000606183424 bytes, 11719933952 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / ...
Dr. Chocolate's user avatar
0 votes
0 answers
249 views

LVM Resize Failing

Summary I'm attempting to extend partition with LVM on it and its failing... All Googles and Bings have failed so unsure where the issue lies. Here is what's happened so far. This is a virtual server ...
unDrac's user avatar
  • 1
1 vote
0 answers
330 views

No Space Left On Device Error

I have an AWS EC2 instance provisioned with 2 EBS volumes (the root and an extra block volume). I am hosting several docker applications behind and nginx reverse proxy on this server. I am getting a ...
JDBennett's user avatar
  • 119
0 votes
0 answers
54 views

Issue adding space from /home to /var with ext4 fs debian 11

My /var is full on 9.1GB and I need to increase space to 100GB from /home that has 1.4TB. When I run fdisk it keeps giving me the same default amount of space (9.1GB). Is the another way of adding ...
tlholoheloh101's user avatar
2 votes
3 answers
887 views

Extend /var partition on Centos Stream 8

During the installation of my centos stream 8 OS I gave /var a size of 10GB thinking it would be more than enough, but after I started using docker I found of that it takes too much space on the /var ...
Rafik's user avatar
  • 35
2 votes
3 answers
2k views

Hyper-V Expand Drive Without Having to Use GParted to Fix Partitions

Hyper V Generation 2 VMs seem to exhibit this behavior: after expanding VHD, new space appears as separate partition there is no way to combine it with existing c:/ partition from Windows have to ...
AlexVPerl's user avatar
  • 217
0 votes
1 answer
1k views

RHEL 7 extend xfs partition/filesystem size without affecting data?

Excuse me, I'm trying to enlarge space for a directory in a RHEL 7.5 host and the partition is not managed by LVM. This host is virtual machine and I would like to increase size for /home/ext to use, ...
user53815's user avatar
0 votes
1 answer
370 views

Questions about PV.<ID> syntax in ks.cfg

Here just for example: part pv.01 -size=100 -grow -ondisk=/dev/sda part pv.02 -size=300 -grow -ondisk=/dev/sdb Is the purpose of the PV.<ID> usage merely used to customize the initial size of ...
lylklb's user avatar
  • 103
0 votes
0 answers
136 views

Can't boot on my Linux anymore after changing boot order (dual boot windows/debian)

Some months ago, I changed my boot order to make my windows in first boot position. Since this day I can't boot on my linux anymore because I don't see it when i'm booting. After some research I've ...
Eliot-BPJ's user avatar
0 votes
2 answers
160 views

Share files via a shared disc across multiple VM's running Ubuntu 18?

I am trying to share a single disk across multiple VM's (Ubuntu 18). The VM's are hosted in Azure and the disk is an Azure Managed Disk. I've attached the disk to both VM's and have mounted them. I ...
B P's user avatar
  • 3
0 votes
1 answer
714 views

Resize a persistent disk for Linux (MBR partition) on Google Cloud Compute Engine

I want to expand my disk capacity for my Google Cloud machine and have been following the tutorial that's located here. However, I'm fairly certain that the tutorial assumes the user has a GPT ...
JimmyTheCuck's user avatar
1 vote
0 answers
463 views

Unwanted partition after partman-auto configuration

I have an issue while i'm trying to automate the creation for my debian VM template. I tried to create a specific disk partitioning with lvm, everything goes on correctly. But after boot, I see that I ...
jimmy zahgbib's user avatar
1 vote
0 answers
433 views

Anaconda: Failed to find a suitable stage1 device

The installation is oversimplified here. In reality I want to format and supply all the disks (for swap, etc.) to anaconda with several --disk arguments to virt-install like it's suggested here https:/...
JenyaKh's user avatar
  • 161
0 votes
0 answers
1k views

How do I mount a BTRFS filesystem where both devices have the CHANGING_FSID flag and one devices has journal errors?

I have a RAID-1 BTRFS setup with two 8 TB hard drives. Due to unclean reboots, I cannot mount them anymore, even with recovery flags: rockpro64:~:# mount -t btrfs -o rootflags=recovery,nospace_cache /...
lenny.myr's user avatar
  • 101
0 votes
0 answers
805 views

Extend the root partition

We need to extend the root (nvme0n1p1) partition that is adjacent to the 2nd SWAP (nvme0n1p2) partition that is adjacent to the third (nvme0n1p3) LVM2 partition that has 2 volume groups in ext4 format ...
linuxbitcoin's user avatar
0 votes
1 answer
450 views

How to reduce /dev/sda1 primary partition size and create new partition with it

Hi I'm facing an issue OS : Ubuntu 20.04.5 LTS i have my storage set up like this : lsblk : sda 8:0 0 400G 0 disk ├─sda1 8:1 0 399.9G 0 part / ├─sda2 8:2 0 512B 0 part ├─...
ossama assaghir's user avatar
0 votes
1 answer
1k views

Windows 10 safely delete recovery partition

One of our processing PCs uses Windows 10 Pro, and I am the one in the unfortunate position of trying to upgrade the capacity of its C:\ drive (SSD) from 1TB to 2TB. I created an image backup using ...
rdi_pck's user avatar
  • 31
1 vote
1 answer
884 views

vgdisplay shows free extents but lvresize doesn't find them

I'm trying to grow a LVM logical volume, and resized the physical volume. Now, vgs shows free extents, but when I try to assign them to the logical volume with lvresize, it says 0 extents available. ...
Heinzi's user avatar
  • 201
0 votes
1 answer
5k views

How to resize Partitions on Proxmox?

Hey im Hosting Proxmox on a Small Hosting Provider and after i added more Space to my "sda" Proxmox refused to start and i wasnt able to go on the WebInterface. I still was able to go into ...
Massimiliano Valeskini's user avatar
0 votes
1 answer
153 views

Extend partition on virtual server [duplicate]

I have asked to extend the disk size of my virtual server from 20 GB -> 80 GB. After that disk size of /dev/sda was increased to 80 GiB. But size of /dev/sda2 kept unchanged, at 19.5 GiB: root@...
BerndGit's user avatar
  • 103
0 votes
2 answers
6k views

How to increase the size for /dev/mapper/centos-root without data loss

I am running a virtual server, and the provider added extra diskspace. However, I need to somehow increase (merge) the existing disk (has data) and the new disk (empty). how to increase the size for /...
Yuri's user avatar
  • 3
0 votes
2 answers
8k views

How to resize partition to maximum size on Debian 8?

My question is how to resize partition on Debian 8 without losing any data? I have 90 GB partition but my disk has 150 GB space on VPS server, so 50 GB is free and I want to add this 50 GB without ...
Piotror's user avatar
  • 13
0 votes
1 answer
3k views

How to expand partition that is in the middle of other partitions (or create new and migrate data over)

So I have a need to expand a partition (/tmp) on a system and not understanding exactly how to proceed with this (I did not initially set the partitions up). The following commands show: fdisk -l Disk ...
IT_User's user avatar
  • 210
0 votes
1 answer
616 views

Centos Kickstart - partitioning fails because of arbitrary disk order

I've prepared a kickstart file for a Red Hat Virtualization 4.4 VM with 3 virtio-scsi disks with different disk sizes: # System bootloader configuration bootloader --append=" crashkernel=auto&...
msr's user avatar
  • 33
0 votes
0 answers
71 views

Allocating space from boot drive to another drive without rebooting?

I am running an Ubuntu 20 machine with two physically separate drives. The first one is my boot drive (/dev/nvme0nlp3) and the second one (/dev/nvme0nlp1) is where I run my application. My application ...
Szabó Valentin's user avatar
1 vote
1 answer
749 views

resize2fs crashed with error : Operation not permitted While trying to add group

I was trying to expand /dev/sda3/ partition after I have added a new disk to my hardware RAID, but failed after resize2fs: [root@server5 ~]# resize2fs -f /dev/sda3 resize2fs 1.41.12 (17-May-2010) ...
Someone Sometime's user avatar

1
2 3 4 5
23