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

learn more… | top users | synonyms

41
votes
12answers
2k views

Sell partitioning to me

I have often wondered why there is such a passion for partitioning drives, especially on Unixy OSes (/usr, /var, et al). This does not seem to be a common theme with Windows installations. It seems ...
20
votes
5answers
4k views

Unix Server Partitioning & Filesystem Layout

There's a lot of contradictory information about Unix server partitioning out on the internet, so I need some advice on how to proceed. So far, on the servers I in our test environment I didn't ...
15
votes
8answers
4k views

How many and which partitions should I create for a linux server?

Partitions are very important on Linux server because it give you a lot of flexibility, for example when upgrading to a bigger hard drive. But, how many partitions should I create when building a ...
9
votes
10answers
7k 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 ...
4
votes
2answers
255 views

Repartitioning two disks without a loss of data

I am interning at a software company and I have hit somewhat of a brick wall. Here is the deal: The Problem: We have some boxes around here that were incorrectly partitioned for 2 x 500 GB drives. ...
1
vote
2answers
1k 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 ...
5
votes
2answers
10k views

How can I set the disk partition alignment using linux tools?

After reading Disk Partition Alignment Best Practices for SQL Server, I just want to give those advices a try, but on my linux test server. What are the required parameters in order to set the ...
3
votes
2answers
1k views

Move /var to new set of disks

I currently only have remote access to this CentOS box, I need to move /var form the primary RAID to a new set of disks that was installed with more space, My current thoughts on how to accomplish ...
0
votes
1answer
339 views

extend size of partition

I am asking for help on how to properly extend the size of partition Here is my situation. Running fdisk -l, give this result root@ ~]# fdisk -l Disk /dev/sda: 2000.3 GB, 2000398934016 bytes 255 ...
34
votes
8answers
31k views

Reread partition table without rebooting?

Sometimes, when resizing or otherwise mucking about with partitions on a disk, cfdisk will say: Wrote partition table, but re-read table failed. Reboot to update table. (This also happens with ...
13
votes
8answers
25k views

How can I find out what hard disks are attached to a Linux box?

Here's an easy question for you guys: How do I find out what hard drives are attached to a linux box? I'm hoping for a single command that can give me a nice list of all ata/scsi/etc drives. I've ...
9
votes
8answers
18k views

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: ...
3
votes
4answers
8k views

ZFS - how to partition SSD for ZIL or L2ARC use?

I'm working with a Sun x4540 unit with two pools and newly-installed ZIL (OCZ Vertex 2 Pro) and L2ARC (Intel X25-M) devices. Since I need to keep these two pools in the near-term, I'd like to know how ...
1
vote
4answers
20k views

How can I un-mark a partition as active?

Overview: I use a backup storage enclosure with 6 backup drives incrementally backup up and taken off-site. One day I noticed that the backup process was failing. I logged onto the server that is ...
6
votes
3answers
3k views

e2fsck on large filesystem fails with Error : Memory Allocation Failed

I'm trying to use e2fsck on a large raid array that is 2TB large and uses GPT for partitioning (because of size). There is only 1GB of ram installed on the system and I do not have the ability to add ...
6
votes
2answers
2k views

Where does Ubuntu store partition UUIDs on disk?

Exactly what part of the disk is a UUID stored on? MBR? Somewhere within the partition? Is it a calculated value, or randomly generated and recorded?
5
votes
2answers
13k views

Expand disk space on Ubuntu 10.04 (VMWare Guest)

I need to resize the disk space of an ubuntu guest in VMWare Workstation. After using the expand disk utility in vmware workstation, I need to do some linux magic to resize the parition. I have ...
1
vote
1answer
136 views

Can LVM and Traditional Partitions Coexist?

Can you set up a machine in which different drives are formatted as either LVM volumes or as traditional partitions and mix and match the two? For e.g. have the LVM volume mounted as / and /home and ...
1
vote
2answers
479 views

Remounting MySQL under a new mount point

/var/lib/mysql is mounted on partition / which is now full. Is there a way to mount this under /home/mysql for more disk space?
-1
votes
2answers
230 views

Created 100GB ec2 instance, but only shows 10GB?

I just created a new EC2 instance of 100gb with only 1 storage disk. However, my df -h output shows the following : [root@ip-10-252-37-164 ~]# df -h Filesystem Size Used Avail Use% ...
2
votes
2answers
201 views

mkfs on raw software raid device or partition

I am making a huge RAID10 device (8 TB) for storage on CentOS. I have created the 4 partitions on my 4 physical hard disks and have created the raid device /dev/md2 out of those 4 partitions. Now ...
1
vote
3answers
840 views

Increase Linux Partition dynamically?

Here is what I have on my Linux Box [root@linxuph53 logs]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_linuxph53-lv_root 38G 11G 26G 29% / ...
0
votes
2answers
328 views

Partition keeps filling up, don't know why

My partition /dev/sda1 keeps filling up. Besides the "/" directory, I cannot tell what directories are even on this partition in order to search for files to delete. I was able to get it down to 97% ...
0
votes
4answers
66 views

back-up database in Linux partition from windows partition!

Hello I am in a very embarrassing situation, I was trying to upgrade to ubuntu 10.04 from ubuntu 9.10 yesterday and while updating I forgot to put my laptop on charger and the battery ran out. Since ...
12
votes
4answers
19k views

Recommended disk/partition setup for a SQL Server

I'm looking for some advice regarding the best way to set up my disks/partitions for SQL Server. Here are some of my major concerns: How should the SQL files be seperated (data files, logs, temp)? ...
2
votes
2answers
13k views

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 * ...
8
votes
1answer
2k views

combine partitions to one disk image

I have 3 images. Each image was done by cloning (by dd) a partition (these partitions formatted using ext3 file system). One partition is boot-able with GRUB1 (CentOS) How can I combine them to one ...
3
votes
6answers
3k views

Create image of Windows partition on Linux

I'd like to create an image of my Windows partition (so a can restore it later) and I was wondering if anyone could recommend any utilities that are capable of this? Either command line or GUI (pref. ...
7
votes
2answers
4k views

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 ...
6
votes
2answers
11k views

How to move /var to another existing partition?

I have a / partition which contains /var and is too small. I have another existing partition with enough space. Here is my df: File system Size. Occ. Avai. %Ful. Monté sur /dev/sda1 ...
5
votes
1answer
3k views

Filesystem and partitioning for SSDs on Linux

What are the best practices for using an SSD on a Linux workstation? Specifically, I'm interested in: What mounts I should put on the SSD and what I should keep on my HDD What filesystem I should ...
5
votes
3answers
33k views

centos 100% disk full - How to remove log files, history, etc?

mysqld won't start because disk space is full: 101221 14:06:50 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28) 101221 14:06:50 [ERROR] Can't start server: ...
8
votes
6answers
3k views

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 ...
4
votes
1answer
4k views

LVM logical volume partition corrupted after lvreduce

I encounter the problem when I try to shrink one logical volume. I took the actions as following steps shows: # unmount /home # lvreduce --size -100G /dev/vg_dev/lv_home # lvdisplay ...
4
votes
2answers
4k views

repair partition table

I've just overwritten my partition table of my system's hard disk. i made a cfdisk on the wrong device (/dev/sda instead of /dev/sdd), deleted all partitions, made one new primary spanning over the ...
3
votes
1answer
232 views

Set device offset in Linux due to failed hardware RAID?

I have a failed hardware RAID card. This card had two drives in a RAID-1 mirror. Plugging one of the drives into the motherboard shows no partition table. Using a program like testdisk, I can see ...
1
vote
2answers
7k views

Cannot deactivate LV due to partition device

I need to be able to deactivate an LV but cannot after partprobing it and finding gaining access to its partitions in /dev/mapper. It seems I need some way of 'un-partprobing' the disk, but I have no ...
4
votes
3answers
8k views

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 ...
4
votes
5answers
3k views

Partitioning advice for dual boot with Windows XP and two separate Linux installations

Main goals is to have/being: Windows XP Main Linux installation "Some other" Linux installation which I am currently experimenting with. All three OS installations completely separate (at least to ...
3
votes
2answers
1k views

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 ...
1
vote
2answers
1k views

Debian root partition resizing

I just noticed that the root partition of my not-so-long-ago configured server is only 5gb thats not much seeing as i allready use 4gb and still need to install a lot of things... i was foolish ...
1
vote
1answer
1k views

Active Directory Partition Error

Right now my active directory is failing a dcdiag test. I can find no info online about this error. When I run dcdiag /test:crossrefvalidation, I get the output: .... Doing primary tests ...
0
votes
3answers
515 views

Command-line partition reboot selection

I want to schedule a reboot to a temporary partition from the command line on a X86 Linux box without manual intervention. Is it possible that this can be done. As I see it I have only one option ...
5
votes
2answers
2k views

Repurposed disk - Linux blkid command returns incorrect information

I'm working with an SSD drive removed from a VMware ESXi installation. I'm trying to reuse the disk in an existing Linux installation (CentOS 6.2). The drive sits behind an HP Smart Array P410 RAID ...
3
votes
2answers
3k views

HP DL320e Gen8, 3TB drives, Windows Server 2012 R2 - HDD full capacity alocation difficulties during installation

One interesting task to do but not so easy as i thought. The server is HP DL320e gen8, The main difficulty is with partitioning the RAID1 (2x3TB HDDs) during the installation on 2 partitions (System ...
3
votes
1answer
863 views

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 ...
3
votes
3answers
754 views

Windows Server 2003 - move C: partition to a new SAS disk

A server I am working on has two 73GB SAS disks (configured as RAID 1). There are two partitions on the 73GB drive and the C: partition is only 15GB or so. This drive is near 100% capacity and I've ...
2
votes
1answer
1k views

Exchange 2010 on VMWare - can I expand a partition with databases on it?

I have an Exchange server at a remote office that has a database partition that has grown considerably. It is running on VMWare vsphere 4.1. Normally on most VMs I would shut down the VM, and ...
2
votes
3answers
966 views

Root file system is full and I need to install additional software.

I am trying to install to install EPEL Repository on CentOS 5.7. I still have lots of space available on my hard drive. /dev/sda2 3.9G 3.9G 0 100% / /dev/sda11 17G ...
2
votes
3answers
4k views

How do I restore a partimage image to a smaller drive?

Without thinking, I made a partimage image of a ~1TB ext3 partition, which only actually contained about 2GB of data, so gzipped down to that size. I then wiped it and used it for something else. I'd ...