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)

2
votes
2answers
61 views

How to configure hard drive

I have a hard drive that is not configured, it shows this in fdisk -l: Disk /dev/dm-2: 107.4 GB, 107369988096 bytes 255 heads, 63 sectors/track, 13053 cylinders Units = cylinders of 16065 * 512 = ...
2
votes
1answer
78 views

fdisk. What does the “free” partition mean?

I had two primary partitions (/dev/sda1 and /dev/sda2). Then I created an extended partition to segment it into logical partitions. After I had typed fdisk /dev/sda and n (add a new partition) the ...
2
votes
3answers
419 views

Cannot create a partition after the 4th

When using cfdisk to partition for Arch Linux, I found that after the 4th partition, I can't make any more. I'm using VMWare Player as a VM, and I'm using a single fake HD file. Earlier I thought ...
2
votes
1answer
1k views

Unable to mount /home/ partition after reinstalling grub after reinstalling windows 7

I've reinstall windows 7 on it's asignated partition and, as usually, it override the MBR with it's own stuff and, thus, it was not possible to boot to my ubuntu 12.04 partition. I followed the step ...
2
votes
2answers
894 views

Moving /usr to its own filesystem/logical volume

My Fedora 17 (x64 - running on VMware Workstation 8) root filesystem is running out of space (this was an install using the default layout as suggested by the Fedora installer): # df -h Filesystem ...
2
votes
3answers
2k views

How to change the volume name of a FAT32 filesystem?

I know I can set the volume name when I format the partition with the -n option of mkfs.vfat. But how to just change the name without formatting? I especially want to be able to use lower and ...
2
votes
1answer
7k views

How do I determine the new size for resize2fs?

I want to shrink an ext4 filesystem to make room for a new partition and came across the resize2fs program. The command looks like this: resize2fs -p /dev/mapper/ExistingExt4 $size How should I ...
2
votes
3answers
657 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 ...
2
votes
2answers
455 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 ...
2
votes
1answer
507 views

Creating a new partition in empty space between 2 existing ext4 partitions

Output of fdisk -l: Disk /dev/sda: 640.1 GB, 640135028736 bytes 255 heads, 63 sectors/track, 77825 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes ...
2
votes
3answers
10k views

How to change mount points

I'm not very deep into this mounting/unmouting think on Linux, so here goes my question: With df -h I get the following overview: Filesystem Size Used Avail Use% Mounted on /dev/sda1 ...
2
votes
2answers
765 views

Installing a second hard drive

My system currently runs an XBMC live install. I am installing a second hard drive in my system, but I am somewhat of a linux newb and only know the basics. Since it is XBMC I believe I need to do ...
2
votes
2answers
96 views

lvm: what's the purpose of a Volume Group?

Each Volume Group can have many resizeable Logical Volumes. each of Logical Volume can have different filesystem, encryption options etc. that means having a single Volume Groups is enough. so why LVM ...
2
votes
1answer
47 views

Disk is almost full on a server with CPanel

I have VHM system and I have a domain and two subdomain on this system. I tried to take a backup than after sometime I cannot access cpanel but I can access VHM. but some of the VHM options gives disk ...
2
votes
1answer
40 views

Accessing Windows7_OS partition from Linux on a dual-boot

Are there any limitations on accessing the Windows7_OS partition while I am booted on my Linux OS? Occasionally I like to browse files that are on my Windows partition or copy files to my Linux drive ...
2
votes
1answer
172 views

Software RAID 10 + LVM on mixed drives, sector alignment?

I have 4 2.5" 7.2k drives lying about and I'd like to build some RAID arrays for a bit of VM storage on my KVM lab box. There are 2x 320GB drives and 2x 500GB drives. I'm looking to create a RAID 10 ...
2
votes
2answers
80 views

Resize vdi size doesn't work as supposed [duplicate]

I just installed the new one Debian xfce via VirtualBox, but decided to increase the vdi size from 8GB to 20GB (because it requires 42% of all disk space at this moment): VBoxManage.exe modifyhd ...
2
votes
2answers
53 views

How does system know where the first logical disk starts?

I'm trying to understand the ms-dos partition table, and there's the following diagram: It comes from this site. Almost everything is pretty clear to me, but there's one thing I don't get. As you ...
2
votes
1answer
5k views

Installing debian 7 besides windows 8

I ask this question in superuser but no one can answer my question, I hope any one can help me: I bought a VAIO laptop which Windows 8 preinstalled on it in UEFI mode. Now I want to install Debian 7 ...
2
votes
1answer
3k views

extending a partition by resize2fs

I have a 4 GB SD card. Before the image load root@ubuntu# fdisk -l Disk /dev/sdb: 3965 MB, 3965190144 bytes 49 heads, 48 sectors/track, 3292 cylinders, total 7744512 sectors Units = sectors of 1 * ...
2
votes
1answer
529 views

Graphical Btrfs tool

Is there a graphical tool for creating Btrfs sub-partitions and in particular, subpartitions like "GParted" or "system-config-lvm"? I'm running Debian squeeze. In response to the first comment, Btrfs ...
2
votes
2answers
114 views

Can I safely resize my partition from its beginning?

Currently dual booting Windows 8 and Linux Mint 14, sooner or later I will give more space to my Linux system. Is resizing my Linux partition from the beginning a safe operation ? If yes, could you ...
2
votes
1answer
2k views

fdisk isn't showing my hard drive as properly formatted (but it is)

I've got 3 1TB drives which I've set up to use LVM. Here's the output of pvdisplay: --- Physical volume --- PV Name /dev/sda1 VG Name vgpool PV Size ...
2
votes
1answer
501 views

Mac OS X partition type problem

As a 2 decades of MS-Windows user I have switched to Mac OS X a month ago. And my knowledge is not enough to fix my big problem which I encountered yesterday and my brand new MBPro is dead now. I ...
2
votes
1answer
562 views

convert /dev/md0 to /dev/sda1

I used a Software-RAID I and want to access the data without RAID now. After mdadm --fail /dev/md0 /dev/sda1 mdadm --remove /dev/md0 /dev/sda1 I tried mount -t ext4 /dev/sda1 /mnt but dmesg ...
2
votes
1answer
2k views

Unable to create logical partition with Parted

I was fiddling around with parted command on a loopback disk and tried to create some partitions using gpt part table but I keep getting Error: Unable to satisfy all constraints on the partition. when ...
2
votes
2answers
1k views

How to mount ext3,ext4 sitting on VDI VirtualBox HDD?

How to mount ext3, ext4 partition sitting on "Fixed-Size VDI" VirtualBox HardDisk ? To be more specific, I ma interested in case when VM is not running.
2
votes
1answer
1k views

Why my partitions don't show the right capacity on a 4096 byte physical block hard drive?

After reading a lot about why newer 4096 byte physical block hard drives should be partitioned taking care of alignment (Linux on 4KB-sector disks: Practical advice, What is partition alignment and ...
2
votes
1answer
149 views

What is the smallest LVM2 logical volume unit?

Could you ensure me that minimal LVM2 size Unit is one extent to which all sizes are rounded up ? Is 4MiB the default size of extent for LVM2 ? Can it be configurable or is it the only size ? Small ...
2
votes
1answer
203 views

Writing Linux Kernel module for non-MSDOS disk labels/partition tables

Linux supports a set of different disk label or partition table formats. For example, Sun Disk Labels and MS-DOS partition tables are both disk labels that contain (largely) the same information ...
2
votes
1answer
387 views

How to extend an ext3 partition over LVM inside a file (virtual machine)?

I need to extend the root partition of a virtual machine (VM) using LVM (Logical Volume Manager) . I can afford a few minutes of downtime so a VM shutdown/reboot is fine. The virtual hard disk is in ...
2
votes
1answer
499 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
1answer
298 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
843 views

Dual boot debian/Win XP - hidden partitions and primary partition limit

I decided it's (finally) time to make my eee a debian/WinXP dual boot. I have Windows already installed and chose to sacrifice most of an existing data partition for debian. Here's how the partitions ...
2
votes
2answers
908 views

Is there a GUI alternative to GParted?

GParted 0.7.0 is less than ideal, so am looking for something else. Is there a credible alternative? [update] The two issues I was having had nothing to do with GParted.
2
votes
1answer
97 views

renaming a fat16 volume

What's the easiest way to rename (change the volume label of) a fat16 volume (e.g. on a USB drive) from linux? It seems like mlabel from the mtools package is meant to do this, but the documentation ...
2
votes
1answer
22 views

How can move a LUKS container from the middle of a partition to the beginning?

For the tl;dr, skip to the bottom. I have a dual-boot setup with Mac OS X at the beginning of my drive and three GNU/Linux partitions at the end of the drive. I don't have the relevant machine on ...
2
votes
1answer
63 views

Is it safe to delete old boot and EFI System partitions?

I have installed a new OS in the free space of the same hard disk after failing to upgrade the old one. Now there are two copies of boot partitions and EFI System partitions. After a harrowing ...
2
votes
1answer
31 views

Have some 2TB partition for a directory

I have 4 2TB HDD on a VmWare ESXi 5.1 server. I have httpd on /var/www/html directory on a Centos VM. can I have full size of 4 HDD (8TB) on this directory? Or I must mount every HDD to seperate ...
2
votes
1answer
99 views

Creating partition from a start point till the end of the disk using parted

This is my partition table : Model: ATA Hitachi HTS54757 (scsi) Disk /dev/sda: 750GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Disk Flags: Number Start End Size File ...
2
votes
1answer
1k views

Resize ext4 partition to create more inodes? [duplicate]

Possible Duplicate: How can I increase the number of inodes in an ext4 filesystem? An old headless no-X backup server I use has a small hard drive with three primary ext4 partitions: /, ...
2
votes
2answers
804 views

Changing partition sizes on FreeBSD using bsdlabel

I have recently installed FreeBSD but I don't like the partition sizes that I accepted during installation and would like to change them. I have followed the instructions to do so in the man pages, so ...
2
votes
2answers
538 views

Partitioning Ubuntu and Windows 7 once and for all

I am dual-booting Windows 7 and Ubuntu (installed with wubi). So far there have been no problems, but now it says the disk is out of space all the time (I think that is because /dev/loop0 is used 100% ...
2
votes
2answers
855 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 ...
2
votes
2answers
1k 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
1answer
371 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 ...
2
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 ...
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. ...
2
votes
2answers
656 views

How to decide on a partitioning scheme?

I am changing my current partition scheme (personal development laptop, dual boot) to remove the Windows partition and leave only my Slackware64 instance. What thought should go into my partitioning? ...
2
votes
1answer
465 views

Creating an extended partition

I'm trying to create an extended partition. In GParted, I shrunk the size of the existing partition and now want to create a new EXTENDED partition in the free, unallocated space. GParted only lets me ...