Questions tagged [partition]

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

Partitions are a way to logically divide a computing resource. Most frequently this is applied to MBR Disk storage. For instance a hard drive or other storage media so that each partition is logically independent of one another. This can be done for a variety of reasons including security, separating multiple operating systems, utilizing multiple file systems, or other benefits realized by the logical separation.

1109 questions
4
votes
1 answer

remount as read and write

Yesterday my CentOS Linux 7 (Core) server experienced a hard disk problem. The HDD has since been replaced but the main partition is in read-only mode. I'm trying to get the main partition usable again (making it read and write) but am having many…
Magick
  • 143
  • 5
4
votes
3 answers

Using a VHD as a data storage location?

I asked previously if there are good reasons to partition disks on Windows, and one of the big ones was for splitting data and OS. So that should you reinstall, you do not need to worry about the data (i.e. the partition with the OS gets wiped,…
Robert MacLean
  • 2,186
  • 6
  • 28
  • 45
4
votes
1 answer

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 \ # …
Piduna
  • 541
  • 4
  • 12
  • 25
4
votes
1 answer

How to Resize RAID partitions on Ubuntu Server 16.04

Recently we configured an Ubuntu 16.04 on Server. We have two 256 GBs SSDs. After a while we recognised that our main RAID partition has only 20GBs while other partition has more than 200GBs. Here's what fdisk -l prints out: Disk /dev/sda: 238.5…
mamsoudi
  • 141
  • 1
  • 4
4
votes
1 answer

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 around how the size is set when an AMI is…
4
votes
2 answers

How can I create a GPT partition label and mount the partition using its label in Ubuntu?

I'm trying to assign a partition label to a GPT partition, and use that partition label as an identifier for mounting in Ubuntu 14.04. So first I setup GPT and created a partition on the volume: ~# parted /dev/vdb -s -- mklabel gpt ~# parted…
Brandon DeRosier
  • 256
  • 1
  • 2
  • 8
4
votes
1 answer

Reclaiming free space in filegroup with single chronological partition

-moved here from SO (no coments there) Question: what is a proper way of reclaiming space in big (hundreds of GBs) filegroup with single partition of table that is chronologically ordered and has no index fragmentation and cannot afford no index…
Jan
  • 151
  • 4
4
votes
1 answer

LUKS partition recovery

A drive with 2 partitions - the first partition is plain ext4, second one is encrypted LUKS. The partition table has been overwritten. I've found the beginning of the second partition, which I need to recover, thusly: #hexdump -s 400000m -C /dev/sdc…
hexedone
  • 41
  • 1
  • 2
4
votes
1 answer

Amazon EC2 - Not able to find / mount EBS volume partition

I have a linux instance to which a ebs volumne of 20GB has been attached. The web-console volume page shows: 20 GiB gp2 snap-b3a87xyz in-use i-cd5b9999 (myinstance):/dev/sda1 (attached) The web-console instance page shows: Root device type:…
Jasper
  • 297
  • 2
  • 4
  • 11
4
votes
1 answer

Partition alignment on MegaRAID RAID 1 with 4k sector (advanced format) drives

I want to setup RAID 1 (mirroring) on a LSI MegaRAID SAS 8708EM2 (1078 chipset) with 4k sector (advanced format) drives. To the best of my knowlegde the controller does not officially support 4k sector drives whereas the newer 9xxxx series…
georg
  • 313
  • 1
  • 2
  • 8
4
votes
1 answer

MDT: choose specific partition to install Windows on

For several reasons I need to be able to customize MDT, so that I can choose which partition I want to install Windows on. We already have this option when we install from a simple Windows DVD, so why is it so hard to implement this into MDT? Any…
lyngsie
  • 111
  • 2
  • 11
4
votes
1 answer

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 specifying the correct dimensions for partitions so that…
4
votes
1 answer

Why does fdisk have a discrepancy in translating units between cylinder and sectors?

We were re-partitioning a virtual disk to increase the size of an LVM's physical volume. This is how we initially performed this: $ fdisk /dev/sdb # delete partition fdisk> d ? 1 # create new partition fdisk> n ? p ? 1 first cylinder? [ENTER] last…
Belmin Fernandez
  • 10,799
  • 27
  • 84
  • 148
4
votes
1 answer

Kickstart partitioning with ext4 in autopart mode?

When installing CentOS 6.x, how to specify the filesystem type with ext4 and also use the autopart directive in kickstart file? The default filesystem type with autopart directive used is ext3, which can not manage a very large disk space.
boydc2011
  • 141
  • 2
4
votes
2 answers

Preseeding Ubuntu partman recipe using LVM and RAID

I'm trying to preseed Ubuntu 12.04 server installation and created a recipe that would create RAID 1 on 2 drives and then partition that using LVM. Unfortunately partman complains when creating LVM volumes saying there no partitions in recipe that…
Swav
  • 189
  • 1
  • 7