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

learn more… | top users | synonyms

0
votes
0answers
6 views

Grub shows its bash after rebooting on multiple GNU/Linux computer [on hold]

I know this is a newbie question, but never had this problem before. I have made one primary partition and 8 logical partitions (for four ext4 roots / and their respective swaps). Then I start ...
15
votes
10answers
58k views

“fdisk -l” like list of partitions and their types for LVM logical volumes?

You know how "fdisk -l" lists drive partition tables and shows the partition id/types for each partition? Is there a similar way to get the partition id for LVM logical volumes? EDIT: I'm aware of ...
14
votes
2answers
3k views

Is there any way to fix a corrupted LDM database?

TL;DR: Are there any tools/approaches to diagnosing and fixing LDM (Logical Disk Manager) metadata structures without recreating from scratch? Full description: I have two SSD drives ...
0
votes
2answers
31 views

How to remove SWAP partition, and add back to root partition in cli

I am on Ubuntu 14.04 server with only ssh access into the machine in question. Someone else setup this machine, and they added a ridiculous swap space...a little more than half of the SSD. Here's ...
0
votes
1answer
15 views

qemu-img: by accident decreased disk size

I decreased my KVM disk image by accident from 100G to 50G using: sudo qemu-img resize disk.raw 50G I wanted to increase the disk from 100G to 250G. Now the VM is not booting :( And get this ...
10
votes
11answers
8k views

How big should the swap partition be?

for some years, I've read that it's a good idea to create a swap partition having the double space of my RAM. does it still apply today? or this isn't needed anymore? I have a server with 8 GiB of ...
0
votes
1answer
18 views

CentOS: How to group two partitions to one document root?

i have 2 partitions in my cloud server. And i want to group two of these become one as Apache document root. Because i have some websites and data is around 80GB. Does it possible? /dev/vda1 ...
0
votes
1answer
32 views

How to use dd to dump an image to unallocated space

I have a bin file (chromiumos_image.bin) which contains some (around 12) partitions, which I need to dump into the unallocated space between 2 other partitions. The partition table is this: My ...
0
votes
5answers
52 views

How do I increase a partition size (that doesn't use LVM) without removing and re-adding it

I have /usr on a separate partition. At the moment, this is how the server is set up: [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 329M 4.6G 7% ...
0
votes
0answers
13 views

Rewrite partition table for 1 HFS+ partition

2 hard drives in an enclosure got their partition tables corrupted, I'm guessing due to some error with the RAID controller (set on JBOD, never changed it or triggered any RAID initialization). Both ...
-1
votes
0answers
3 views

Removing partitions from Chromebook (Chrome Recovery Utility not working) [migrated]

I dual installed GalliumOS and ChromeOS on my Lenovo 100S ChromeBook. I tried to uninstall GalliumOS but didn't manage to delete its partitions. Now I have ChromeOS installed, but it has under 1 GB ...
-2
votes
1answer
34 views

How can I merge an unused partition with my main partition?

I want to merge an unused partition with my main partition where the OS is installed (Debian 8). df -h output: Filesystem Size Used Avail Use% Mounted on /dev/vda1 9.9G 2.1G 7.4G 22% ...
-1
votes
0answers
5 views

Unable to access disk space in Windows [migrated]

I have installed Windows 10 in external HDD for my Mac Book and here is the steps followed. When I installed windows in bootcamp, I have selected only 30GB space and restored to external 1TB hard ...
3
votes
1answer
1k views

Script partitioning fresh raw disk images with sfdisk (C/H/S ignored?)

I'm trying to automate the process of creating raw disk images. I don't care so much about C/H/S, but that the block size should be a rough standard of 512 bytes. However, I'm having trouble ...
1
vote
1answer
1k views

Resizing a partition on a virtual hardisk (file with msdos partition-table)

I have a local file on my disk which contains a msdos partition table and some linux-partitions. I use this as a virtual raw disk with qemu. klm@lato:~/images/disk$ parted arch-linux2 p WARNING: You ...
0
votes
1answer
1k views

Unable to automatically remove LVM data

I am trying to install ubuntu 12.04 via preceed config onto Dell PowerEdge R710. I had RedHat installed on the box then I tried installing ubuntu 12.04, then auto install popping with Unable to ...
1
vote
1answer
1k views

Resizing Partitions on Live RHEL/cPanel Server

I've resized many partitions over the years on Linux, Windows and Mac OS X -- but always using a GUI. However, the time has come where the preset partition sizes my data center placed on my server ...
2
votes
1answer
25 views

Change a LVM/extended to an ext4

There seemed to be some miscommunication or confusion upon the installation of solusvm for my machine. From what I understand, I will not need an LVM for OpenVZ-based installations. So far, that's ...
0
votes
2answers
2k views

CentOS & moving /var to a new disk/partition

Slightly older system, roughly 2 years old. Running CentOS I'm noticing I have /var using a lot of space, and it's all good stuff...so deleting space isn't the answer. Is there any easy/safe way to ...
0
votes
1answer
32 views

Unable to resize my main partition (CentOS 6.4 x86_x64) Google Cloud Compute

Disk /dev/sda: 268.4 GB, 268435456000 bytes 4 heads, 32 sectors/track, 4096000 cylinders Units = cylinders of 128 * 512 = 65536 bytes Sector size (logical/physical): 512 bytes / 4096 bytes ...
2
votes
1answer
8 views

How can I wipe a logical partition from a bootable usb?

I'm looking for a way to wipe just one partition from the drive. Currently I have a recovery partition which needs to stay as it is and a partition with windows 10 installed which needs to be wiped. ...
2
votes
2answers
436 views

Cobbler import failing

I've been playing with Cobbler lately (on a CentOS 7 distrib), and I've gone through an error while importing a CentOS 7 iso. I've been able to find a work around to the problem, and I thought it'd be ...
-1
votes
1answer
38 views

How to encrypt boot partition in CentOS 7 kickstart?

I have a kickstart file for CentOS 7 Minimal. I would like to add encryption only to my /boot partition. but when I added the following line in the kickstart file, the complete installation fails. The ...
1
vote
3answers
3k views

Cant find my harddrives in ubuntu installation?

I was trying to setup a Microserver with two 1TB harddrives as a software RAID. Somehow it didnt work and now ubuntu 14.04 is not starting. My problem is that I dont see the drives anymore when I go ...
0
votes
2answers
27 views

Docker: how to partion my harddrive

I want to create partitions for my docker server. It will only host stateful application, data are stored in /srv/company/appname. I have two hard drive : 20GB 2TB. What is the best way to ...
1
vote
3answers
60 views

How to shrink /home and add more space on CentOS7

CentOS 7 file system is XFS, And resize2fs doesn't work. I need to shrink /home to 400G and add 100G space to /. What should I do? # df -h Filesystem Size Used Avail Use% Mounted on ...
-1
votes
2answers
19 views

VHD with 3 partitions and 3 operating systems. How to split?

Got a guy on the other side of Earth who needs a sole partition off of a vhd so he can do his job. The entire vhd is over 490gb. The 1 partition is about 80. So I want to split the the vhd up into ...
0
votes
1answer
163 views

tmpfs partitions using a lot of space?

I bought a centos 7 minimal server with 512Gb x 2 NVMe SSDs in software raid 1 When I enter df -h command I get: [root@CentOS-72-64-minimal ~]# df -h Filesystem Size Used Avail Use% Mounted on ...
0
votes
5answers
2k views

I have a NTFS partition now the size of the partition seems to be wrong. Is there an easy way to fix this?

So I I resized a partition and now the partition table seems like it is screwed up. I am running Windows 7. When I open the "Disk Management" The table at the top of the screen show the disk as 139GB. ...
0
votes
1answer
44 views

Partition is not using the full space

The sda5 partition has 1953 GB, but dev/mapper/MediaServer--vg-root is only actually using 496 GB. How do I extend dev/mapper/MediaServer--vg-root to take advantage of the full space? sudo fdisk -l ...
2
votes
2answers
403 views

sharing an ext3/ext4 partition on external drive

is there a way of sharing an ext3/ext4 formatted partition on an external USB drive between different users (uids) on different Linux machines without creating a group for this purpose, setting the ...
1
vote
0answers
28 views

Can you have an MBR partition and a GPT partition on the same RAID 5 VHD in Windows Server 2008 R2?

I have a Power Edge T610 with a PERC 6 RAID 5 Array, recently i posted a question about expanding the array with other drives and was able to use OMSA to add additional drives to the array and then ...
0
votes
1answer
24 views

increase debian server VM system partition while server is running

i have a debian 8 webserver VMware VM that runs out of HDD space. i increased the HDD Size in VMware. then i wanted to add the unallocated space to the system partition. i am not very familiar with ...
-1
votes
1answer
27 views

difference between “Standard Partition” and “Primary partition”

What is the difference between "Standard Partition" and "Primary partition" ? What is a standard partition exactly? Thanks.
-1
votes
1answer
32 views

Move Unallocated Space Between Disks

I am running Ubuntu's latest LTS. In /dev/sda I have sda1 and sda2, both are using a couple hundreds of MiB with a couple of GiB allocated. So far so good. In /dev/sdb I have just one partition, sdb1 ...
0
votes
1answer
47 views

linux + increase temporary the /tmp partition for installation

I have linux VM machines with version red-hat 4 I have the following file system df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 950M 163M 739M 19% / /dev/sda1 ...
1
vote
2answers
264 views

ReiserFS warning: reiserfs_get_unused_objectid: no more object ids

I've a partition in ReiserFS which stores images from a camera (so it keeps adding/removing directories with pictures...). When doing a dmesg, I get the following "warnings": [227297.192297] ...
3
votes
3answers
11k views

mdadm --zero-superblock on disks with other partitions on them

I have three disks which used to hold an MD RAID5 array. I have since removed (or so I thought) this array and created partions for btrfs and swap space. On rebooting the machine, MD still binds the ...
0
votes
1answer
129 views

Resizing CentOS partition using parted

I am using CentOS 6.x. I would like to resize the LVM partiion, but I am little confused when I use parted to see the partition information. I have a few questions. Please look at the partition ...
0
votes
0answers
32 views

Debian jessie 8.1 x64 installer doesn't detect VMware disk properly

While running an installation of debian 8.1 (via netinst with PXE using our own mirror on-premise), I encountered the following problem: When the installation got to the disk partitioning stage, the ...
0
votes
0answers
27 views

Error on one of four drives, cannot format or read

I'm having weird problems with a small SSD drive, F: (120GB). C:\Users\Administrator>chkdsk f: The type of the file system is RAW. CHKDSK is not available for RAW drives. Server management ...
14
votes
4answers
2k views

Why does slice C or slice 2 cover the entire disk

Something that I was discussing with a couple of friends and we were unable to figure it out. In FreeBSD and OpenSolaris/Solaris when you partition a drive a partition is created that covers the whole ...
0
votes
1answer
15 views

SQL Server data and log file location on single physical drive

I have just got my hands on a dedicated hosted Windows Server 2012 R2 which has had SQL Server 2014 installed. The server has a single 2Tb drive (C:) which I assume is a standard hard-drive, rather ...
0
votes
2answers
23 views

How to remove installed third party product from root parition and reinstall it on a diferent partition?

I am newbie to linux. I have read about drive/partition/volume of linux for better understanding of what I am about to deal with. Here is the situation. I am a IBM BPM application developer and I ...
1
vote
2answers
476 views

Resize data drive in EC2

Ubuntu 10, with 2 drives: root (8 gb), and data (sdf, 150 gb). I created a snapshot, and then created a drive from the snapshot, sizing it to 300 gb. I then shutdown the instance, removed the 150 ...
1
vote
3answers
2k views

Cloning LVM partitions

I need to clone a CentOS installation from a 1TB disk partitioned with LVM, to several identical machines. The disk is mostly empty since only the operating system and some software are installed and ...
2
votes
2answers
43 views

Cannot extend partition in CentOS 6. Second partition is preventing it

I have a server on AWS EC2 that was set up by a sysadmin I hired. I'm running very low on my /dev/xvda1 partition (where we keep the website code, assets, etc), and I've been looking to extend this. ...
0
votes
1answer
29 views

Expanding partition (xfs) of a virtual machine

OS: Ubuntu 14.04, partition table: Model: VMware Virtual disk (scsi) Disk /dev/sda: 37.6GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type ...
1
vote
2answers
349 views

Shrink a mounted LVM partition

I fear I already know the answer to this question, but here goes. I need to carve out a new partition on a running system. /var/ is mounted from an LVM volume (hdd1_vg-var) and has only 3% used disk ...
0
votes
3answers
208 views

Creative way to shrink a live ext4 filesystem from cloud provider?

When buying droplets, as DigitalOcean calls their cloud VM's, they are always configured with one large ext4 partition. I have an app that needs an LVM partition, so I need a creative way to shrink ...