Questions tagged [partition]
A partition is a means of logically dividing a computing resource (most frequently disk storage)
1,079
questions
0
votes
0
answers
15
views
How to format an existing FreeBSD disk partition to delete all the content from the partition in FreeBSD ? (using command line)
We need to delete the content of freeBSD partition to ensure no old data are present. The best way to achieve this is to format the partition.
This is what we tried :
umount -f /data
newfs -E /dev/...
0
votes
1
answer
32
views
grub unknown filesystem. dual booting windows and arch linux
Device: Dell xps-15 9510 running latest arch
I dual boot windows and arch using grub bootloader
I restarted my computer yesterday and was put into grub rescue due to unknown filesystem.
'ls' lists all ...
0
votes
0
answers
29
views
ext2 is showing in blkid but ext4 is mounted
I just extended size for my /boot partition and mounted it as ext4.
I did steps below:
Added new disk on vmware
Created partition with fdisk
Created filesystem ext4 with mkfs command on /dev/sdb1
...
0
votes
0
answers
45
views
Preseed partitioning
I search to automatize my partitioning on Ubuntu but I fail to have my partition like this diagram below and I don't understand all parameters I need in the preseed documentation.
https://help.ubuntu....
0
votes
1
answer
90
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
0
answers
51
views
Struggling with turning on the Project Quota in preseed (ext4, debian 11)
I'm trying to turn on the Project Quota on all my ext4 partitions during preseeded Debian 11 installation
I've started with recipe like this below, with options/prjquota{ prjquota } oprtion, but this -...
0
votes
1
answer
51
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
24
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
78
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
86
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
99
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
36
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
31
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
91
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
45
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
158
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
54
views
Move /usr to new partition on running Oracle Linux 7/8 server?
I need to move the /usr directory to a new partition on a running server and delete the old /usr directory without "crashing" the system and no live CD is allowed.
The new ssd is already ...
0
votes
0
answers
28
views
Need to mount GB in my vps now excluded in /dev/vda1
i'm loosing my mind through documentations, guides and so to understand/solve my problem about actually my VPS filesystem.
I bought a vps from edis with 100GB space and a centos7 installation on it ...
0
votes
0
answers
29
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
0
answers
34
views
Cannot mount an EBS partition, file system is of type "data"
I have inherited the administration duties on an EC2 instance with a single EBS volume mounted. The device (xvda) is partitioned, with xvda2 mounted as root (/), but I have no idea what is on xvda1, ...
0
votes
1
answer
252
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 ...
0
votes
0
answers
172
views
Reload partition table on FreeBSD
I'm searching for a way to reload a partition table in FreeBSD 12 (FreeNAS).
I don't have hdparm nor gfdisk nor partprobe.
What's the standard way of doing ?
PS: my pkg doesn't work behind a firewall ...
0
votes
1
answer
58
views
Create lvm volume in the last cylinders of the disk
In all magnetic disks, the speed difference between the first and last sectors is noticeable, up to a factor two or three. This is still true with the new multi-terabyte disks. So it still makes sense ...
-1
votes
1
answer
645
views
Extending a partition in ubuntu 14 [closed]
I've been trying to follow several of the guides and articles on this forum and others on how to extend my current Linux LVM partition.
Here are the current partitions I have. I don't understand how ...
1
vote
1
answer
32
views
Cannot Use Whole Disk after Disk Upgrade on my VPS
I upgraded the disk size of my VPS from 20GB to 40GB. I cannot use this newly added 20GB. fdisk -l shows 40GB but du -h shows 20GB!
root@ubuntu:~# df -h
Filesystem Size Used Avail Use% Mounted ...
0
votes
1
answer
3k
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....
0
votes
0
answers
72
views
RAID 5 Data Recovery (Missing Partition)
I really need help.
I am running an XCP-NG server, with an LSI MegaRAID 9260-8i card installed. I have a RAID 5 virtual disk with one partition on said disk that takes up all the space. That partition ...
0
votes
0
answers
78
views
How to reduce a partition size on Centos 6.10
I'm trying to reduce the size of a partition in a Centos 10 system. I created a bootable thumb drive with Gparted, but it showed no space available to reduce the partition.
So I tried resizing the ...
0
votes
0
answers
47
views
Is there any risk to create an LVM group with two disks of different physical sector size?
I have two hard drives of different physical sector size. I would like to create an LVM volume group with them, however, when I do so with vgcreate, I get a warning telling me that the two disks have ...
0
votes
0
answers
61
views
Windows Server - how to shrink partition on GPT disk from the front?
I'm looking for a way to shrink a partition on a GPT disk from the front on production servers.
With diskpart it's only possible to shrink the space from the end.
Ideally while running
1
vote
0
answers
185
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] ...
0
votes
1
answer
119
views
How do you generate a new encryption key for a drive that uses SED (Self Encryption Drive)
So I'm currently learning more about NVMe drives that ship with a feature called SED (Self Encrypting Drive). Take the Smasung 970 EVO for instance. It clearly states that it features SED.
The 970 ...
0
votes
0
answers
21
views
Create a boot partition snapshot (win10)
I'm slightly desperate, of what is the best practice to:
install a fresh version of windows 10
strip it down
install applications you need
setup configure everything
create a snapshot of the whole ...
0
votes
1
answer
76
views
Does it matter to partition something before dd?
Normally, to burn an ISO to a disk, let's say an ISO for installing Ubuntu, we dd to the /dev/sda, not to the partition like /dev/sda1, so in this case, where the target file is /dev/sda which is ...
0
votes
2
answers
677
views
Cannot resize XFS partition after volume increase
I have increased the size of my volume from 8GB to 16GB. After resizing the volume, I would like to expand the partition to take on the additional space.
However, this operation is failing with data ...
-1
votes
1
answer
24
views
How to expand partition with block in the middle on windows?
I have a server with partition as below.
I have added free space to it but not able to extend the C: drive as expand option is greyed out.
When I get that in personal laptop, I used to do with ...
0
votes
1
answer
41
views
where is my hdd space
I am new to linux and installed Centos with default configuration without applying any custom settings, while I have 512 GB SSD drive but on gnome it shows only 75 gb, when I tried to run fdisk ...
1
vote
2
answers
56
views
sshd does not pick up authorized keys file when attaching a new /home partition on GCP
I need to create a RHEL machine on GCP with separate partitions for /home, /tmp, and /var. If I were installing on a physical machine I would simply partition my disk when I install the OS but I can't ...
0
votes
1
answer
390
views
How can I extend or resize lvm from disk space
We use ceph to manage the storage and recently increased /dev/sdb's disk size.
I'm not sure how to utilize the newly available space in my ceph's lvm.
sdb ...
0
votes
2
answers
57
views
How to resize LVM partition in my setup?
I have a CentOS 6 VMware VPS with the current partition format :
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_serverdl-lv_root
11G 4.9G 4.7G 52% /
...
0
votes
1
answer
897
views
Unable to delete partition 2 from device /dev/disks/naa.50000398b8497b91
i have a disk on ESXI, i am trying to delete the partitions that are on it, this is what i did :
partedUtil delete /dev/disks/naa.50000398b8497b91 1
partedUtil delete /dev/disks/naa.50000398b8497b91 3 ...
-1
votes
3
answers
276
views
How to extend the size of a xfs?
I have 119Gb in sda2, but centos_template--centos7-root is only 27.8Gb, how can I increase it?
[root@runner~]# lsblk -o NAME,FSTYPE,LABEL,SIZE,MOUNTPOINT
NAME FSTYPE ...
0
votes
0
answers
48
views
Weird discrepancy in size between fdisk and df
fdisk reports the following info about a partition
Device: /dev/sda1
Boot: *
Start: 2048
End: 209715166
Sectors: 209713119
Cylinders: 443369
Size: 100G
...
0
votes
1
answer
45
views
How do i increase space on my vSphere Ubuntu Client?
So i want to increase the HDD of my Ubuntu 16.04.7 (where Redmine is running)
What i did was in my vSphere client under Settings -> HDD -> i pumped up the gb from 20 to 100
Hit ok and vSphere ...
-2
votes
1
answer
50
views
I accidently deleted the partition tables of my RAID6 drives
I accidentally deleted the partition table of 2 drives in my 4 drive RAID6 by reversing the order of sudo sgdisk -R=/dev/sdb /dev/sdz
parted /dev/sdb print currently reports:
Model: ATA ST2000DM008-...
0
votes
1
answer
117
views
Root partition out of space side-effects
What are the side effects of the root (/) mount running out of space? If I remember correctly, users can no longer login. Are the effects flavor dependent?
1
vote
0
answers
247
views
Recover encrypted LVM
I had Debian install running on LUKS encrypted LVM.
This morning, I wanted to install OS on external disk to be used on another host, but mistakenly I chose the wrong disk... Few seconds in I noticed ...
0
votes
1
answer
87
views
Can't resize Ubuntu Partition inside VMware
I had a 30 GB machine and I run out space. Then, via the VMWare Workstation GUI, I have extended that space.
It got to "unallocated space" at first, then I tried to extend it with gparted, ...
0
votes
1
answer
1k
views
Clone disk with multiple partitions using dd
I have used dd before to clone hard drive's but I'm now attempting to clone an entire hard drive consisting of 3 partitions to another drive.
My partitions are named nvme0n1p1 to 3, I tried leaving ...
0
votes
0
answers
1k
views
Extend file system on Ubuntu 18.04 to use added disk space
Hi I am using a cloud provider (not AWS) to extend the file system on an Ubuntu VM.
The provider has extended it, and notified that the extension is on the same volume, but I cannot seem to figure out ...