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

learn more… | top users | synonyms (1)

38
votes
12answers
1k 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 ...
18
votes
5answers
2k 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 ...
14
votes
8answers
3k 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 ...
8
votes
10answers
6k 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
246 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. ...
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 ...
0
votes
1answer
249 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 ...
16
votes
8answers
1k views

Optimal UNIX File System Partition + Setup Strategy

When partitioning a new system disk(s) for UNIX, what is your prefered strategy for both desktop and/or servers? Please include disk partition layout, file system format(s) and options, mount points, ...
33
votes
7answers
21k 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 ...
8
votes
8answers
17k 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: ...
6
votes
3answers
2k 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
11k 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
108 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
249 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
vote
3answers
606 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
145 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
62 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
15k 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)? ...
11
votes
8answers
18k 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 ...
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. ...
5
votes
2answers
6k 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 ...
3
votes
1answer
1k 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 ...
5
votes
1answer
2k 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 ...
2
votes
4answers
6k 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 ...
8
votes
6answers
2k 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
2answers
3k views

repair partition table

Hallo. 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 ...
3
votes
1answer
2k 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 ...
1
vote
2answers
5k 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
6k 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 ...
2
votes
2answers
674 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
781 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
985 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
486 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 ...
4
votes
2answers
1k 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
3answers
510 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
761 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
1answer
331 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 ...
2
votes
3answers
772 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
3k 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 ...
1
vote
2answers
648 views

How to install CentOs 5.8 on 3TB disk with RAID 1 on Hetzner EX 4S (10 TB) server?

I have installed centos 5.8 with Hetzner server rescue mode but its disk parttion table is in MSDOS formate which does not support more than 2 TB space of disk so i need to change the partition table ...
1
vote
2answers
1k views

Modifying partitions in CentOS 6

Ladies & Gentlemen, I'm currently running CentOS6 6 with 300 GB of storage space. Currently, /dev/sda looks like this (via parted): Number Start End Size Type File system Flags 1 ...
1
vote
1answer
382 views

Can I run fsck on a partition which is unmounted but on a live machine?

I have a server which has 4 drives which are each mounted to different areas. I have 2 drives which are giving me trouble and would like to run fsck on them. Can I unmount those drives, run fsck on ...
1
vote
2answers
219 views

Monitor partition size on Debian

How can I monitor my /backups partition on my Debian-Lenny box? I have sendmail and I would like to receive an email when my partition gets over, for instance, 80% of its total size.
1
vote
3answers
414 views

Partition and Windows 7

I was formatting one my comps to do testing. The first partition seems to be EFI or something that i shouldnt touch. When creating another partition window 7 has a 100 mb blank partition before its ...
1
vote
1answer
182 views

When can I adjust partition sized in Leopard?

The version of Disk Utility that comes with Mac OS X 10.5 will let you resize existing partitions on a partitioned drive -- some of the time. What determines if it will let you adjust partition sizes ...
0
votes
2answers
62 views

reached the maximum partitions on my virtual machine

I have a virtual machine and I extended the size since I needed more space. Here is what I have and the message I am getting: I was reading up and I saw some references to diskpart.exe and it gave ...
0
votes
1answer
140 views

having problems expanding the space of one partition on a disk

I currently have a VM which has 50 GB of space. I increased it to 100 GB and booted the Ubuntu Live CD. I did the following Deleted the partition /dev/vda1 Readded it with all blocks resize2fs ...