Skip to main content

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
1 answer
21 views

use new hard drive to extend existing partition on Ubuntu

I have inherited this machine with following partition setup: The machine runs Ubuntu 20.046 LTS and as one can see above there is 3.5T space unallocated in the partition schema. The unallocated ...
borg's user avatar
  • 101
0 votes
1 answer
101 views

Almalinux - Extending root partition from 4 GiB to 14 GiB

I am trying to extend the disk space on an AlmaLinux server (running on a VM). The goal is to add unallocated 10.00 GiB to the root partition (dev/sda2). What is the best way to do this without losing ...
Alexander Yug's user avatar
0 votes
1 answer
84 views

Partitioning Rocky Linux 9 on AWS ec2

I have a strange issue while working with partitions on my Rocky Linux 9 (non LVM) EC2 instance on AWS. GOAL: I would like to enlarge a little (5GB) my ebs in order to create a new partition and a new ...
Luca Moscato's user avatar
1 vote
1 answer
391 views

Failed to update apt packages in ubuntu 20.04 at shim-signed

I am using VMs on GCP. and sometime I need to restore a the VM disk to an older snapshot. so the way I do it is I create a new disk from the old snapshot. delete the old one. and attach the new one ...
jaafar Nasrallah's user avatar
0 votes
0 answers
20 views

How to change the /home size of an OCI virtual machine?

What is the best way to specify the size of the /home partition while creating an OCI VM? Is this something that could be controlled through the available OCI Terraform modules? I did look up the ...
codeforester's user avatar
0 votes
0 answers
64 views

Move data partition (including its vss copies) to different disk in Windows Server 2019

What’s the best way to move a windows server 2019 (fileserver) data partition (including its vss copies) to another attached disk? System and data are on same disk, but different partitions. I just ...
JKB's user avatar
  • 115
0 votes
0 answers
107 views

take an image with clonezilla of only the used space

I have a USB stick that contains two partitions, sda1 and sda2. I want to take an image of this stick so that I can clone onto other USBs. The USB size is 128GB. but both partitions are less than 10GB....
jaafar Nasrallah's user avatar
1 vote
0 answers
17 views

How to jump from index to data partition in LTFS?

I am trying to use command prompt's functionality to set the partition 0&1 but unable to jump from one partition to another so i was thinking about it is there any command or anything so which i ...
Sher's user avatar
  • 11
5 votes
4 answers
1k views

Are RAID controllers blind to partition tables on individual disks?

I'm curious how the concept of partitions (and partition tables) co-exist with the concept of RAID arrays. Here is my current understanding (correct me if I'm wrong anywhere): A physical hard-drive ...
Izzo's user avatar
  • 185
0 votes
1 answer
42 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
421 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
31 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
204 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
638 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
602 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
462 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
129 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
203 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
464 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
65 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
118 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
334 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
292 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
  • 403
0 votes
1 answer
1k 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
436 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
149 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
1 vote
0 answers
4k 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
  • 11
1 vote
1 answer
514 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
2k 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
1k 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
  • 133
1 vote
1 answer
444 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
4k 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
392 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
425 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
  • 129
0 votes
0 answers
62 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
1k 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
3k 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
3k 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
547 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
150 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
251 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
825 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
556 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
496 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
  • 171
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
1k 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
655 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
2k 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
1k 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

1
2 3 4 5
23