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
11
votes
5 answers

Mounting a partition from a raw DD image file of a physical disk

I have a DD image taken from the raw HDD image (/dev/sdb). This image file contains an XFS filesystem that I need to mount. It is much too large to restore to disks (2.6TB img file) so I would like to mount it using loopback. However, the partition…
coderego
  • 175
  • 2
  • 8
11
votes
1 answer

Open source applications for resizing drive partitions

I am looking for open source applications that will allow resizing hard drive partitions. I have used partition magic in the past but am looking for open source free applications that can handle this task.
Geoff Dalgas
  • 2,476
  • 5
  • 31
  • 32
10
votes
3 answers

Xen image file vs partition/LVM volume performance

I read quite a lot of advice to switch from file-image VM storage, to partition/LVM volume based. The claim is that partition/LVM are much faster then image files. The downside in my opinion, is that one no longer have the whole VM in a single, easy…
SyRenity
  • 3,179
  • 11
  • 57
  • 79
10
votes
8 answers

Ubuntu: Resize the root LVM(2?) partition

I have an Ubuntu virtual machine running in VirtualBox 2.2.4, and I created it on an 8gb virtual disk which is too small. So, I am trying to increase the size of the disk. So far, I have done this: Created a new larger virtual disk Added the 2nd…
waterlooalex
  • 221
  • 1
  • 3
  • 10
10
votes
2 answers

CentOS Insufficient space in download directory /var/cache/yum/base/packages

I was trying to yum install libpcap when I got Error Downloading Packages: 14:libpcap-0.9.4-15.el5.i386: Insufficient space in download directory /var/cache/yum/base/packages * free 0 * needed 108 k Here's output from df…
Joao Heleno
  • 251
  • 1
  • 4
  • 12
9
votes
2 answers

Resize partition to maximum using parted in non-interactive mode

Since using fdisk in this case is fairly complicated due to the fact that the non-interactive usage is probably not possible or at leasr very complicated (using printf), i want to use parted resizepart for resizing a partition to it's maximum…
Eugen Mayer
  • 327
  • 1
  • 5
  • 15
9
votes
4 answers

If I resize a Linux partition using GParted will my data be safe?

I would like to shrink the size of a partition containing an Ubuntu distribution and files. Is it safe to assume that I will not lose or corrupt any of the files as long as I don't make the partition smaller than the amount of data that is currently…
Tim Wardle
  • 383
  • 1
  • 5
  • 9
9
votes
3 answers

How can I create a swap partition on Amazon EC2 with ephemeral storage?

This is the output of df -k: Filesystem 1K-blocks Used Available Use% Mounted on /dev/xvda1 10317860 7059008 2734732 73% / none 847584 0 847584 0% /dev/shm /dev/xvdb 153899044…
Pandora
  • 145
  • 1
  • 3
  • 7
9
votes
3 answers

e2label Bad magic number in super-block?

This is the output of fdisk: [root@ns1 ~]# fdisk -l Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id …
User
  • 277
  • 1
  • 3
  • 9
9
votes
1 answer

Mount a partition to two mount points

I have a partition called sda4. And I want to store the mysql data and xml files on that partition because the partition which mysql and domain are installed has little space. So I'm planning to have two subfolders under the sda4, one for mysql and…
Pelang
  • 413
  • 5
  • 9
  • 15
9
votes
1 answer

Server 2012 Core (no GUI) - How to manage disks?

I am working on Server 2012 which doesn't have a GUI. For now, I have two hard disks. My first one is already formatted and I see it as C: Now, I'd like to format my second hard drive and create a D: partition. Are there any ideas how could I…
hpsoftware
  • 137
  • 1
  • 3
  • 10
8
votes
5 answers

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 an additional partition). What would a good and…
user25298
8
votes
6 answers

Are there good reasons to partition disks on Windows?

There seems to be a lot of confusion around having multiple partitions for Windows. Some of the theories I have heard are It's faster to move to a new partition start than searching for a file start If you need to format it's easier since the data…
Robert MacLean
  • 2,186
  • 6
  • 28
  • 45
8
votes
3 answers

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 devices that used to hold the old array, causing…
Simon Lindgren
  • 264
  • 1
  • 2
  • 9
8
votes
2 answers

Is the fdisk partition type important when using lvm

I have inherited a few LVM volumes and I noticed that fdisk reports the disks that make up the volume group as partition type 83 (Linux) and not 8e (Linux LVM). Is this a problem and how important are the fdisk partion types? Do they affect…
jwinders
  • 125
  • 1
  • 9