Disk partitioning is the act of dividing a hard disk drive into multiple logical storage units referred to as partitions, to treat one physical disk drive as if it were multiple disks.

learn more… | top users | synonyms (1)

6
votes
1answer
974 views

Move /usr to SSD

I have an SSD and regular HDD drive in my laptop. The SSD drive is not used at all; it is not even being mounted. I am using Arch Linux. I'd like to start using the SSD, and from what I have read I ...
16
votes
6answers
31k views

How to partition 22TB disk?

I have a 22TB disk on /dev/sdb. How do I create a 22TB partition? Don't really care about the file system - ext4 or zfs is fine. Running CentOS 6.2 - Partition will be used as a data dump. Only a ...
2
votes
1answer
86 views

Access times for different partitions on same hard disk

I have partitions, /dev/sda1 and /dev/sda2. / is mounted on /dev/sda1, while all other data is on sda2 which has more size allocated to it. I want to save the virtual machine images (VirtualBox ...
2
votes
2answers
1k views

How do I find out a server's drive mappings for raw devices?

I don't have a lot of knowledge on Linux so pleas forgive me if this is a simple question. I manage a server with Oracle RAC 11g running on Redhat 5.2. There are a number of raw drives on the server ...
10
votes
2answers
44k views

Can I resize the root partition without uninstalling and reinstalling Linux (or losing data)?

I have started using a machine that has both Debian and Windows 7 installed. However, after installing some programs I started getting a message that there is not enough space. I knew that the system ...
2
votes
3answers
941 views

Root filesystem nearly full - should I be worried?

me@netbook:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 323M 292M 15M 96% / tmpfs 5.0M 4.0K 5.0M 1% /lib/init/rw tmpfs ...
1
vote
1answer
448 views

/usr partition filled up, need to make it larger or mount it somewhere else

I have 160 GBhdd. I have ubuntu on about 30GB and Rest is PC-BSD 9.0. On PC-BSD, my /usr is about 11GB and that is all used up. I realize that when I try to install ubuntu inside VirtualBox. I need ...
21
votes
1answer
22k views

How can I increase the number of inodes in an ext4 filesystem?

I had a problem (new to me) last week. I have a ext4 (Fedora 15) filesystem. The application that runs on the server suddenly stopped. I couldn't find the problem at first look. df showed 50% ...
4
votes
2answers
694 views

Create a partition from a directory

I have a Linux system with only one partition /dev/sda1 on /dev/sda disk with / mount point. Is it possible to create partitions after installation? e.g. create /dev/sda2 with the mount point /home/ ...
1
vote
1answer
3k views

Discovering EMC PowerPath LUNs and creating partitions on Solaris

I have to work with EMC PowerPath disks/LUNs. I find them in the /dev/dsk/ directory under names such as emcpower0a, emcpower0b, …, emcpower0z, emcpower1a, … Here are my points of confusion: Inside ...
4
votes
3answers
4k views

How do I permanently mount a separate partition as folder in a separate home partition?

I'd like to create the following situation: A separate partition for my user's home directory, A second separate partition for ~/Documents, and A third separate partition for ~/Videos and ~/Music. ...
2
votes
2answers
598 views

Windows Recovery from Grub messed up my computer?

Ok so I'm a noob when it comes to Operating Systems and I think I really messed up this time. So I have a laptop that dual boots Windows 7 and Linux Mint 11. I was trying to boot into Windows 7 but it ...
4
votes
3answers
196 views

Will my programs installed in Ubuntu be usable by another distro in a dual-boot set-up?

I am interested in setting up my machine so that I can try different distributions of Linux. I want to always be running Ubuntu (10.04.3), but would then try other distros in a dual-boot setting. ...
1
vote
1answer
496 views

Create recovery medium from Windows 7 recovery partition

Many laptops are delivered with Windows 7 recovery partition (but without CD or DVD) which takes place on the harddrive that could contain some Linux distribution or serve for data storage. I don't ...
0
votes
0answers
1k views

Linux Mint can not see my partitions - installation problem

Scenario: On my laptop I have Windows 7 My disk drive has several partitions whereof not all are used (for now) My plan is to install Linux Mint on the 20000 MB (19,53 GB) partition (called I: in ...
3
votes
1answer
647 views

Partitioning and installing Voyage Linux

I am trying to install Voyage Linux 0.8.0 (a distribution based off Debian) on a Soekris Net4801. I would like to have two partitions, one for the operating system and another one for data. I have ...
3
votes
2answers
1k views

Linux Mint: drives' map changing at reboot brings fstab error

I've set up fstab to auto mount media drives on a Linux Mint machine. The OS is installed on a IDE/ATA Disk while 3 SATA disks hold data to share. The BIOS has the ATA disk as first boot device. All ...
2
votes
2answers
2k views

Reduce LVM /tmp size to 10G and add everything to / root dir

I want to reduce the partition mounted at /tmp to 10GB and add all unused space to the / partition. If I umount -l /tmp and run fsck.ext3 -f /dev/privg/lv_tmp, I get this: fsck.ext3: Device or ...
2
votes
2answers
1k views

How to create a new partition in Ubuntu

I want to build my own Linux as "Linux From Scratch". I need to get a new partition from my hard disk. I checked and saw I have sda1. (I have about 20G empty) When I use the fdisk command n, I can ...
1
vote
1answer
797 views

Switching runlevel when moving /var to another partition

I'm running Ubuntu 10.04 and I would like to move /var to another partition using a python script. I found some directions that I thought were pretty good, but they call for switching to runlevel 1 ...
1
vote
3answers
1k views

Why must swap partition be nested when created as an extended partition?

I did not want to use up my last primary partition so I created my new swap partition as an extended partition. However, somewhat redundantly, it is created under sda4. This makes little sense as ...
2
votes
2answers
1k views

Combine unallocated space using KDE partition manager?

See below screenshot and see that there are 2 unknown unallocated blocks. How to combine the unallocated space using KDE partition manager? @ktf, as requested: Disk /dev/sda: 1000.2 GB, ...
4
votes
3answers
210 views

What is the effect of deleting utility manufacturer partitions?

I am about to erase everything off of my hard drive and install Linux Mint I'm doing this on a Dell laptop, there is a Dell utility partition that I have never used... I have seen these on other ...
4
votes
1answer
13k views

mount: wrong fs type, bad option, bad superblock on /dev/sdb on CentOS 6.0

Somehow my partition on /dev/sdb has gotten all buggered up. This hard drive contains a lot of data that I need to recover and haven't been able to backup yet. When I attempt to mount it: # mount -t ...
3
votes
1answer
1k views

Ubuntu 11.04 and large external drives

I have a Hitachi USB external 3 terabyte drive attached to a Dell Precision T1500. When connected to the computer running Ubuntu 11.04 (2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 ...
1
vote
2answers
110 views

Which root paths should reside on fast media?

Which paths under / should be mounted on fast media, and which can be mounted on slower media without significantly affecting system performance? My guess: Fast Partition: swap (2G) Partition: ...
0
votes
1answer
318 views

Formatting secondary hard drive that has windows on it

I recently installed an setup an Ubuntu Server machine. It has two drives in it and the other drive has windows installed on it. (I didn't want to overwrite the windows installation until I had my ...
2
votes
1answer
582 views

Equivalent to “copies=2” feature of ZFS in Linux with LVM

I have a laptop with only one HDD and is impossible add other HDD. The feature "copies=2" of ZFS is the perfect solution for to add redundancy to my /home in the laptop. I would like emulate the ...
2
votes
2answers
527 views

Does mkswap check that a partition is a swap partition before formatting it?

I checked the man page for mkswap and was left confused whether mkswap tests whether a partition is of type 82 before formatting it. Background: I am using Ubuntu 11.04, and I had just set up my swap ...
3
votes
1answer
2k views

How to enable (format) a disk in SunOS then add it to a DiskGroup?

SERVER # vxdisk list DEVICE TYPE DISK GROUP STATUS c1t0d0s2 auto:none - - online invalid c1t1d0s2 auto:none - - ...
5
votes
2answers
860 views

How can I diagnose and repair missing drive space?

I have a small ext3 / partition on a 2T drive which appears to have a discrepancy in its free space. How can I determine what is causing it and how it can be fixed. After trying everything I could ...
4
votes
1answer
865 views

What happens to partition labels after removing a partition?

What will happen to all the remaining partition labels if I remove a single partition? For example if I have a layout that looks like this: /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda5 and if ...
2
votes
1answer
380 views

LVM tools on raw block copy

I have several raw block copies of disks that have both NTFS and Linux partitions. The parition tables generally have both a Windows NTFS partition and a Linux LVM partition. I need to work on all of ...
8
votes
1answer
3k views

How can I quickly copy a GPT partition scheme from one hard drive to another?

On a non GPT partition table I can do sfdisk -d /dev/sda | sfdisk /dev/sdb But sfdisk doesn't support GPT partition tables. What can I use instead? I'm looking for a one or two command solution, ...
4
votes
1answer
173 views

Does GRUB consider partition order when looking for config files?

I have a HD which has 3 partitions, in the following order: NTFS FAT32 FAT32 (very small) I want to install GRUB into the MBR of the HD, and place the config files (menu.lst, etc.) into the 3rd ...
5
votes
6answers
11k views

Change the number of the partition from sda1 to sda2

I have a disk with two partitions: sda1 and sda2. I would like change the number of sda1 to sda2 and sda2 to sda1. It's possible but I don't remember the procedure. i.e. My first partition will be ...
3
votes
1answer
2k views

LVM2 partition alignment

How to do the following with Linux tools : LVM partition alignment and alignment of partition on LVM ? What in case where I want to setup LVM partition (for "pv") and then partitions ? To be more ...
7
votes
3answers
1k views

Why do we need to specify partition type in fdisk and later again in mkfs?

I'm a little confused about fdisk and mkfs. So - here is typical USB flash drive partitioning and formatting: umount /dev/sdb fdisk fdisk /dev/sdb Command (m for help): d Selected partition 1 ...
3
votes
2answers
1k views

Is there a way to install Arch Linux without any installation media?

I want to install Arch Linux on my laptop machine. I have created a 20GB partition to (dev/sda5) to be used as Arch Linux root partition. I tried installing using a usb thumbdrive (I don't have a cd ...
3
votes
3answers
2k views

How to repartition pendrive again?

My 8GB pendrive originally contained only a FAT partition, but I tried to install OpenSUSE 11.4 on it. I created a 200MB partition for /boot and the rest was for the root partition. Despite the ...
2
votes
1answer
396 views

How to allocate more space alongside Windows

I installed Ubuntu on an old laptop, alongside WinXP. Now I'm trying to download some updates and it says that I don't have enough free disk space - I need to free some more space on "/". Since ...
2
votes
1answer
413 views

How to modify a partitioning layout (which may involve converting a primary partition to an extended one)

I am having trouble thinking through how I can achieve my partitioning goals. Now my partitions are: sda1 (winA) (primary) sda2 (winB) (primary) sda3 (/ for linux) (primary) What I want to ...
3
votes
1answer
747 views

Is the crazy partition layout in Fedora 15 really nessesary?

As I'm installing Fedora 15 on another computer I'm really starting to question the crazy partition layout. On this computer there's an existing Windows 7 installation, so I'm cramming Fedora right ...
4
votes
2answers
2k views

Can I split /boot to a different partition on a single partition system?

I have set up my system, configured it and everything, using only one partition for / (ext4). So no separate home, boot, swap etc. So the question is: Is there a way to go from this configuration ...
1
vote
2answers
3k views

Installing debian on existing ubuntu - will /home folder be removed?

I want to install Debian with LXDE on partition, that already have Ubuntu 11.04 installed. I have a lot of music there, and I don't want copy it to another partition. I know that Debian installer will ...
3
votes
1answer
1k views

Paritioning Scheme: Arch Linux server & laptop

What would be a good partitioning scheme for an Arch Linux installation, on a server and on a laptop? My current basic scheme: / [root] ext4 /home ext4 swap I know ...
1
vote
2answers
266 views

Can I create a new partition from the free space inside my reiserfs-formatted /home partition?

Ok, I have Ubuntu installed but I want to install Windows also (dual-boot). Problem is, I don't have a free partition. I have my root partition (15 GB), and my /home partition (300 GB). The home ...
3
votes
2answers
16k views

How to format a write protected pen drive in Linux?

How can I format the write protected pendrive?
2
votes
2answers
3k views

Use testdisk and gpart information to mount ext4 partition

I am trying to recover the ext4 partition table of a 2TB disk, where I have 900.000 files. I have cloned the original HD and now I am working on the cloned HD. And I am running Parted Magic Live CD. ...
4
votes
1answer
7k views

How do I check how much free space left on a device to create a partition

Let's say I have this virtual machine running: [root@centos ~]# fdisk -ul Disk /dev/sda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders, total 16777216 sectors Units = sectors ...