Questions tagged [partition]
A partition is a means of logically dividing a computing resource (most frequently disk storage)
1,106
questions
0
votes
1
answer
15
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 ...
0
votes
1
answer
65
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 ...
1
vote
1
answer
35
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 ...
0
votes
0
answers
270
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 ...
1
vote
1
answer
79
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 /...
0
votes
0
answers
18
views
Should you partition disk for instances in cloud? [duplicate]
I've always been taught that it's practical to partition your disk using LVM, where each partition is given to a specific directory, e.g (/var, /opt, /home, /usr and /tmp).
However, I'm now looking at ...
0
votes
1
answer
75
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 ...
1
vote
1
answer
172
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 ...
0
votes
0
answers
27
views
iometer does not display raw partition
I'm trying to test the performance of my external USB drive. I have two partitions on it. One is formatted as exFAT whereas the other is a RAW windows partition.
I am at a loss about using IOMeter to ...
1
vote
1
answer
59
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 ...
3
votes
1
answer
689
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 / ...
0
votes
0
answers
59
views
Cannot mount EBS made using another EC2 instance
I previously made an Amazon EC2 instance and stored some data onto an elastic block storage volume (150 GB sc1). I have since detached the volume and attached it onto another EC2 instance. However, ...
0
votes
0
answers
101
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 ...
1
vote
0
answers
157
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
...
0
votes
0
answers
37
views
Possible to correct the alignment of partition without data loss?
Somehow I managed to install a server with misaligned partitions.
fdisk says:
Device Boot Start End Sectors Size Id Type
/dev/xvda1 2 2095151103 2095149056 999G 83 ...
0
votes
0
answers
40
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 ...
0
votes
0
answers
15
views
I increased VM storage from Virtual Media Manager in VBox but it is not applied in VM
Here is how I increased the storage of the VM in the VBox interface:
I used Virtual Media Manager.
I increased the VM storage and apply.
When I click Information:
Format: VDI
Storage details: ...
2
votes
3
answers
495
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 ...
2
votes
3
answers
826
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 ...
0
votes
1
answer
164
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, ...
0
votes
1
answer
119
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 ...
0
votes
0
answers
101
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 ...
0
votes
0
answers
48
views
Resize partitions Ubuntu 18.04 RAID 1
This is the output of fdisk -l
Disk /dev/sda: 5.5 TiB, 6001175126016 bytes, 11721045168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O ...
0
votes
2
answers
60
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 ...
0
votes
1
answer
341
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 ...
1
vote
0
answers
185
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 ...
0
votes
0
answers
150
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:/...
0
votes
0
answers
489
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 /...
0
votes
0
answers
315
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 ...
0
votes
1
answer
210
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
├─...
0
votes
1
answer
342
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 ...
1
vote
1
answer
307
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.
...
0
votes
1
answer
3k
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 ...
0
votes
1
answer
101
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@...
0
votes
0
answers
71
views
ERROR - Failed to format SSD /dev/nvme0n1p1, error: ERROR: Failed to get model number of '/dev/nvme0n1p1'
I'm getting a failed to format drive error because it seems to be unable to identify the model number?
Any tips on how to troubleshoot this?
2022-06-08 18:05:02,800 - diskssdconfig.state - ERROR - ...
0
votes
2
answers
3k
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 /...
0
votes
2
answers
3k
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 ...
0
votes
1
answer
1k
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 ...
0
votes
1
answer
405
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&...
0
votes
0
answers
47
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 ...
1
vote
1
answer
510
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)
...
-1
votes
1
answer
307
views
HP-Proliant DL380 G6
Was able to get a Windows 10 based Operating System functioning on the server, sadly the other motherboard broke from other unrelated issues, replaced the motherboard, and cannot remember which ...
0
votes
0
answers
1k
views
What does the error message "sda access beyond end of device virtualsda access beyond end of device" in a virtualboxbox system?
Today I tried to turn off one of my VirtualBox system and I got that error over and over again for a few minutes. Then I just forced a shutdown.
I remember that I resized that partition from 50G to ...
1
vote
0
answers
86
views
Converting sgdisk to sfdisk for old machine with MBR
I want to put ZFS on an old machine, however it apparently fails to boot with GPT.
So I wanted to convert this script, mainly these 3 lines to sfdisk, which uses MBR.
https://github.com/terem42/zfs-...
0
votes
0
answers
106
views
Resizing Boot Disk isn't taking effect
I have a VM Ubuntu 20.10 instance on GCP. It initially had 40 GB Boot disk space which got full and to increase it I had followed google official tutorials and it's showing on console that it has ...
0
votes
1
answer
267
views
Move partition to another disk
Looking to move a partition on Disk 0 (E:) to Disk 3. Reason for doing so is that I want to extend the Disk 0 (C:) partition and I want both drives/partitions on separate VMDK's.
Disk 0 and Disk 3 are ...
1
vote
2
answers
286
views
Raid Array with only a Partition of some Disks
I was wondering if one could set up a RAID-5 array such that only some space of the third disk is used in the raid array and the left over space can be used as a non-raid volume.
I have three HDDs ...
0
votes
0
answers
811
views
Enlarge /home partition from /centos-root
I downloaded a pre-installed version of centos 7 for VMWare from a website and it has a weird layout. Most disk space is allocated to /root but /home is running out of disk space.
Most tutorials I ...
0
votes
0
answers
58
views
Trying to partition aws linux server using shell script
When I created Amazon linux server(similar to Centos 7). I had these partitions
I am trying to create partitions using shell script
lsblk gives me following information
NAME MAJ:MIN RM SIZE ...
0
votes
1
answer
798
views
Create a /tmp partition that uses filesystem type of tmpfs in kickstart?
I'm writing a kickstart script to use when PXE booting to automatically configure new systems with basic settings. I've got everything working except for the partitioning of the boot drive: my /tmp ...