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

learn more… | top users | synonyms

0
votes
2answers
1k 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
27 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
409 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
21 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
23 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
42 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 ...
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 ...
-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
157 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 ...
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 ...
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 ...
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. ...
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 ...
0
votes
1answer
41 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
398 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
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 ...
1
vote
0answers
21 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
24 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
23 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
255 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
101 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
30 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
12 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
474 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
42 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
26 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
339 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
190 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 ...
2
votes
1answer
40 views

How can i split a partition on Ubuntu?

I just purchased a brand new server on OVH with disk specification: 2 x480GB of SSD SOFT. When i do df -h, the output is: Filesystem Size Used Avail Use% Mounted on /dev/root 20G 13G ...
0
votes
0answers
38 views

Create a new Linux boot disk using a reference disk?

I need to build a Linux boot disk for a system, but assemble the disk using a different system than the one the disk is for. I have a known-good "reference" disk: is there a way to selectively clone ...
11
votes
1answer
11k views

Unable to resolve data corruption warning with fsck

In order to create a contiguous space for my file system to grow, I created a new EFI System partition at sda1 so that I can migrate it from the current partition at sda5. The move itself has been ...
5
votes
1answer
207 views

How to extend LVM PV to the beginning of disk?

I have server with 2TB disk, that someone initially partitioned like this: 300GB standard primary partition for operating system files(CentOS 7). 1.7TB LVM with some pretty big logical volumes - for ...
10
votes
3answers
19k views

Can we mount multiple disks as one directory?

Are there way to mount the different disks as one directory? Assuming I have some disks with ext4 partitions: /dev/sda1 1Tb mounted as /store1 /dev/sda2 2Tb mounted as /store2 /dev/sdb1 2Tb mounted ...
2
votes
2answers
73 views

Mount Point Does Not Exist, Despite Creating It

I'm trying to install Arch on a Virtualbox VM. I'm following along this guide, and this video. Not sure if relevant, but the VDI file is on an external hard drive. I've created 3 partitions as per ...
1
vote
0answers
35 views

Units for size in /proc/partitions don't make sense

I have a Seagate 750GB drive. Parted shows the drive as 750GB parted /dev/sdc print Model: ST375064 0AS (scsi) Disk /dev/sdc: 750GB Sector size (logical/physical): 512B/512B Partition Table: gpt ...
0
votes
0answers
73 views

Installing Ubuntu and PostgreSQL database on different drives

I just received a new root server with the following drives: Disk /dev/sda: 480 Gb Disk /dev/sdb: 480 Gb Disk /dev/sdc: 240 Gb sda and sdb are set up on RAID-1 and what I want to do is setup Ubuntu ...
0
votes
1answer
173 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
1answer
94 views

AWS - Separate Disk Partitions on Ubuntu

I am trying to find the best practice way for separation of the operating system files from user files. I want to divide my new Instance (on creation) hard disk into multiple partitions (for better ...
0
votes
1answer
30 views

Bit copied a disk image using the dd command to a new and bigger disk. How do expand whole LVM? [duplicate]

I just copied a 50 GB disk image using dd for bit copying to a new harddisk with 200 GB storage. On the disk is LVM including the system partition EXT4 and a swap partition (both LVs). Well the copy ...
15
votes
9answers
57k 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 ...
0
votes
1answer
299 views

Debian 8 AMI only using 8GB partition

Every Debian 8 Jessie AMI that I launch in Amazon Web Services is only putting the root OS onto an 8GB partition regardless of what I set the size to at launch time. I know there is some documentation ...