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
14 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 ...
109 votes
13 answers
282k views

df says disk is full, but it is not

On a virtualized server running Ubuntu 10.04, df reports the following: # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 7.4G 7.0G 0 100% / none ...
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 /...
2 votes
4 answers
4k views

linux - how to list partitions of specific type?

I am looking for a way to list all partitions of a specific type on linux. (Specifically: all EFI system partitions). I know blkid can filter on filesystem type: the command blkid -t TYPE=vfat ...
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 ...
94 votes
18 answers
176k views

Reread partition table without rebooting?

Sometimes, when resizing or otherwise mucking about with partitions on a disk, cfdisk will say: Wrote partition table, but re-read table failed. Reboot to update table. (This also happens with ...
30 votes
4 answers
35k views

Should I create ZFS zpools with whole disks or partitions?

I am making zpools on FreeBSD machine. While creating zpools I observe these two cases: If I take raw disks and create zpool then I am able to form zpools and they are working perfectly. If I format ...
8 votes
6 answers
37k views

Resize /var partition on a remote system (Linux Debian Lenny)

At a server that I only have access via ssh and vnc to (which means no booting from a "live" CD/DVD is possible), I would like to shrink the partition assigned to /var (in order to free some space for ...
0 votes
0 answers
28 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 ...
128 votes
10 answers
504k views

How to extend an ext4 partition and filesystem?

I have a 400GB disk with a 320GB ext4 partition. I would like to grow the ext4 partition to use the left space (80GB of free space). +--------------------------------+--------+ | ext4 ...
1 vote
2 answers
49 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 ...
5 votes
1 answer
6k views

Cannot initialize disk in PowerShell : Initialize-Disk throws "The disk has already been initialized"

I'm trying to change the flash drive's partition style to GPT using PowerShell, but the cmdlet throws "The disk has already been initialized" (even though I've cleaned the drive): PS C:\WINDOWS\...
0 votes
1 answer
13k views

Linux special device does not exist when I mount

I am using Centos8 with standard specs like 8GB ram and 4CPU and 250 GB Space. When I finished the installation I get automatically 2 folders, 1 70GB and 1 with 160GB. I want to merge them both to one....
9 votes
4 answers
8k views

Best way to copy large amount of data between partitions

I'm looking to transfer data across 2 lv of an HP-UX server. I have a couple of those transfers to do, some of which are mostly binary (Oracle tablespace...) and some others are more text files (logs.....
0 votes
3 answers
740 views

creating and mounting a logical volume

I don't know if my question makes any sense. I have never tried this sort of thing before. What I would like to do is create one logical volume spanning multiple physical partitions like /dev/sdb1, /...
24 votes
8 answers
278k views

How to extend a Linux PV partition online after virtual disk growth

VMware allows to extend the size of a virtual disk online - when the VM is running. The next expected steps for Linux system are: extend the partition: delete and create a larger one with fdisk ...
62 votes
13 answers
267k views

What is the recommended size for a Linux /boot partition?

What is the recommended size for a Linux /boot partition? And is it safe to not have a /boot partition? I see some servers don't have a /boot partition while some servers have a 128 MB /boot ...
0 votes
1 answer
248 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. ...
1 vote
1 answer
373 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 ...
5 votes
1 answer
2k views

What do the 3 numbers mean in manual partitioning of HDD in Ubuntu preseed?

I see in official documentation this: #d-i partman-auto/expert_recipe string \ # boot-root :: \ # 40 50 100 ext3 ...
0 votes
0 answers
189 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 (...
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,...
0 votes
1 answer
99 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 ...
4 votes
1 answer
1k views

systemd-gpt-auto-generator doesn't mount EFI system partition

according to the documentation, the systemd-gpt-auto-generator should automatically find the EFI system partition and generate a mount unit to mount it on /efi. However this does not appear to work on ...
0 votes
1 answer
255 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 ...
7 votes
2 answers
12k views

Hetzner's installimage script, RAID1 hard drives + SSD

I just purchased a server from Hetzner, with two 4TB hard drives and one 1TB SSD. I want to setup the two hard drives (/dev/sda & /dev/sdb) in RAID1 and install the OS on them, and have the SSD (/...
0 votes
1 answer
37 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 ...
0 votes
1 answer
76 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 ...
1 vote
2 answers
4k views

How can I check the partition name in FreeBSD?

I am currently running my server in the rescue mode, due to the firewall issues. In order to disable the firewall thing I would have to mount the / partition. My problem is that I dont know/remember ...
1 vote
1 answer
713 views

Debian automated install preseed auto partitioning seemingly ignored

I'm playing with Debian preseed files trying to auto-partitioning a single disk. The final disk state I'm trying to reach is the following : boot Primary Partition 1 ext3 [256MB] ...
2 votes
2 answers
1k views

how to backup partition layout?

How I can backup(and restore) partition layout of the Disk along with file system types,UUIDs,labels,LVM partitions(Linux LVM) etc, plus with MBRs and VBRs etc but without actual files I want to ...
2 votes
6 answers
6k views

Linux Debian Primary Partition (/) of Server Full, How to Make space for it

How do I safely free some space on my root filesystem? df says: Filesystem Size Used Avail Use% Mounted on /dev/md1 9.7G 9.2G 0 100% / tmpfs 3.9G 0 ...
4 votes
2 answers
1k views

Does the ReFS filesystem reserve space for itself?

I recently formatted a single disk from the line of new 14TB Seagates on Windows 10 with ReFS, with a 4K block size, to use the full capacity available and noticed that out of the approximately 12.7TB ...
1 vote
1 answer
173 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 ...
2 votes
1 answer
182 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" ...
5 votes
2 answers
63k views

Extend linux partition size without losing any data / techniques

I bought a 200G additional disk for my OVH cloud server because my initial disk was full. Now, my additional disk is almost full (as you can see below). So I added 200 extra more G in it. As you can ...
0 votes
1 answer
594 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
348 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 ...
4 votes
5 answers
57k views

How to increase /var directory size?

First question: When I run df -h I can see this: # df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad4s1a 9.7G 8.0G 918M 90% / devfs 1.0K 1.0K 0B ...
1 vote
1 answer
110 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
1 answer
977 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 ...
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 ...
1 vote
1 answer
298 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 /...
1 vote
3 answers
10k views

Extend CentOS partition - Already have 4 Primary Partitions

I have a CentOS server, acting as my syslog server (CentOS Linux release 7.4.1708 (Core)). As my syslogs have grown in size, we've had to extend the volume a couple time. Now the main disk is 500 GB....
20 votes
5 answers
108k views

How to reset a Harddisk (delete Mbr & delete Partitions) from the Command Line with a script without rebooting?

To start from a clean state I need to reset the hard disk to an empty state from command line. It is not about running a wipe utility, the data don't have to be overwritten. This question is quite ...
0 votes
6 answers
5k views

Resizing Partitions/Volumes on Dynamic Disks (Windows Server 2003)

What is the best way to resize partitions on a server with a Dynamic Disk? I have 4 volumes in what appears to be 2 partitions. I have ghosted each of these volumes to separate image files. I will ...
12 votes
2 answers
16k views

Shrink partition to exactly fit the underlying filesystem size

Recently i shrinked an ext4 filesystem size to 500GB df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 493G 64G 404G 14% / now i want to shrink the partition size to fit ...
2 votes
1 answer
904 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 ...
152 votes
13 answers
319k views

How do I find the UUID of a file system?

I'm running Ubuntu, and want to find out the UUID of a particular filesystem (not partition). I know I can use e2label /dev/sda1 to find out the file system label, but there doesn't seem to be a ...
17 votes
3 answers
97k views

how to increase the size for /dev/mapper/centos-root?

My current settings are as below, where the /dev/mapper/centos-root partition is almost full. Looks like this partition is on disk /dev/mapper/centos-root. but there is another disk /dev/vda , which ...

1
2 3 4 5
23