Questions tagged [partition]

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.

Filter by
Sorted by
Tagged with
2
votes
1answer
2k views

How to repartition disk to use non-allocated space?

This is how my hard drive (where I have Xubuntu 12.10) is formatted currently, based on a recent GParted screenshot: I want to expand sda6 (4) to take up the free 11.72 GiB unallocated space. But I ...
1
vote
2answers
661 views

Resizing Cloud Harddrive

I recently upgraded the harddrive from 20GB to 50Gb using the web interface of my cloud service. But df -h: Filesystem Size Used Avail Use% Mounted on /dev/vda1 20G 19G 47M 100%...
4
votes
1answer
5k 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 ...
0
votes
1answer
2k views

How should I partition my hard drive?

Xubuntu 12.10 XFCE with Greybird theme Hello, this is my GParted screenshot: Could anyone please give my any advice on how to make changes to have more space available for use in Linux? Let's say I ...
2
votes
2answers
452 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 ...
3
votes
1answer
9k 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: /, /home and ...
5
votes
4answers
7k views

Install Debian over Ubuntu using same home partition

I'm interested in changing from Ubuntu to Debian. I currently have 12.04LTS installed on its own boot partition which is separate from the /home partition. I would simply wipe the Ubuntu partition ...
2
votes
1answer
2k views

Growing my extended partition to the left

I have the following one hdd Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Disk identifier: 0xfa6bd800 Device Boot Start ...
6
votes
5answers
2k views

If I have an SSD and a hard disk in a system, can the SSD act as cache for the hard disk?

Say I have some partitions; one on a SATA drive and one on an SSD. I want to create a "virtual" hybrid disk. Is this possible?
1
vote
3answers
13k views

Create swap partition after install

I already have parititon contain data under lvm enviroment with centos 5.8 output of fdisk -l root@server [~]# fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, ...
3
votes
1answer
4k views

Create Logical Volume with non-LVM partition

I have seen everywhere it is mentioned to create a partition of type LVM (8e) and then create logical volume with lvcreate. My question is, what if I create logical volume using lvcreate with non-...
5
votes
2answers
178 views

Why would I want to create more partitions if RHEL will only recognize up to 16?

During some basic RHEL training, I came across this blurb: Although it's possible to create more, RHEL will recognize only up to 16 partitions on any individual SATA, SCSI, PATA, or virtual hard ...
7
votes
3answers
3k views

FreeBSD and Linux shared partitions

Which directories, and how, can I share between FreeBSD and Linux? In particular, how can I deduplicate respectively /usr/home and /home? I guess directly sharing a partition between both systems ...
1
vote
1answer
2k views

Installing Boot and OS on SSD, rest on HDD

Okay so I got an SSD for my notebook and I'm currently setting up my system. On the SSD I'd like to have the main OS (Crunchbang in this case) and maybe some swap whereas on the HDD I want my Home ...
0
votes
1answer
177 views

Strange IOStat xk. Moving a mere 40GB data is too slow. Can anyone explain?

iostat -xk 5 avg-cpu: %user %nice %system %iowait %steal %idle 0.99 0.00 1.10 11.01 0.00 86.89 Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-...
2
votes
1answer
12k 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 ...
23
votes
1answer
43k views

Updating disk free size without rebooting the host

I use RHEL4 with LVM2 on it. At times even after removing large files more than a GB, the partition size is not getting updated when using the df command. -bash-3.00$ df -h Filesystem Size ...
2
votes
1answer
13k views

What is Partition System ID?

If I go to fdisk, and I type t and then L I saw: 0 Empty 24 NEC DOS 81 Minix / old Lin bf Solaris 1 FAT12 39 Plan 9 82 Linux swap / So c1 DRDOS/sec (FAT- ...
0
votes
4answers
5k views

Optimal Setup for Windows & Linux - Sharing and Partitioning

We have a new custom designed desktop which we will be mostly a dedicated machine for scientific computations in FORTRAN and MATLAB. The IT initially installed Windows 7 on it and gave it to us. Our ...
4
votes
4answers
5k views

How should I prevent data corruption on an NTFS partition shared by Windows and Linux?

I use Linux for most of the things but I still need Windows sometimes. So, I have Linux Mint 14 and Windows 8 installed (dual-booting) on my computer with the following disk setup: sda1: The 350 MB ...
1
vote
2answers
184 views

I deleted the /boot server is still running is reinstall necessary?

This is stupid. I ordered 2SSD from a provicer. Usually I am the one doing the partitioning and formatting. I will then know which one is the SSD by looking at disks that's not partitioned yet. Turns ...
3
votes
1answer
902 views

Removing windows partition from dual-boot

I have a dual boot of Windows 8 and Linux Mint 14. I want to remove the windows partitions and format them to ext4. sudo fdisk -lu gives me this.. Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 ...
1
vote
1answer
513 views

Failed to boot Grub Error Fedora 17

I had two hard disks. One is internal, 320GB, all NTFS, where Windows 7 is installed in a ~20GB partition. The other is external, 160GB, where I have installed Fedora. Now when I had installed Fedora ...
2
votes
0answers
253 views

Tool to reduce a partition's size and create a new one from the command-line

At the moment I don't have any free space: (parted) mkpart Partition type? primary/extended? primary File system type? [ext2]? ext4 Start? 60G End? 62.9G Warning: You requested a partition from 60....
2
votes
2answers
148 views

Copying and expanding partitions

I currently have the following setup: 2TB HDD /dev/sda: /dev/sda1: (NTFS) Windows 7 Boot Partition: 100GB 1TB HDD /dev/sdb: /dev/sdb1: (EXT4) Linux General/Backup Partition - 1TB 256GB SSD /dev/...
5
votes
2answers
7k 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 ...
0
votes
1answer
500 views

gparted partition master boot record corrupt

I was trying to Linux Mint from live-usb and made a stupid mistake. I created master boot record and my HDD partition become unallocated. After rebooting from live OS, I'm unable to get to boot menu. ...
1
vote
1answer
206 views

Don't have write permission in partition

In my PC I have installs Windows7 and then Ubuntu as OSes. When I try to access other partitions ( E: and F: which I'm using from Winsows7 OS) it get mount without any issue and can read and modify ...
2
votes
2answers
2k views

Moving a root directory to a separate partition

I'd like to create a new partition and move the contents of the /var directory to it for the security reason of having /var/www and other subdirectories "mounted" with nosuid, noexec, and nodev ...
8
votes
2answers
15k views

Do I only need one swap partition for multiple Linux distros? (and other questions)

I have Linux Mint 14 installed as my only OS. I have one extended partition containing /swap, / and /home, and I have some unallocated space on my drive. I'm guessing that Mint decided to put this ...
3
votes
1answer
4k 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 says ...
12
votes
2answers
50k views

How can I resize my root partition in Debian?

I am trying to add space to my root partition and am really not sure the safest way to go about it. I have read this thread, Can I resize the root partition without uninstalling and reinstalling ...
1
vote
3answers
1k views

Reset partitions numbers

I just decided to delete my Windows partition and only use Linux. My old partition table was: sda1: W7 boot partition sda2: W7 partition sda3: Linux sda4: start of logic partitions sda5: swap. I ...
2
votes
2answers
1k views

Resizing of partitions taking too long in Debian 6 installer

I had a Windows 7 PC, with three partitions on it: The default Windows partition (~300GB in size, primary) Some system stuff Windows 7 needs (100MB in size, primary) A partition called Shared, that I ...
1
vote
3answers
334 views

Partioning free space for manual install

I have 53 gigabytes that need formating into /root, /swap, /usr/, /var, /home, and /tmp. What is the best space allocation?
4
votes
3answers
3k views

Remove /var partition and replace it with /var into / (root) partition

I accidentaly created a /var partition and I'd like to get rid of it. Is it possible to remove this partition and use the / partition to contain /var without reinstalling the OS or do I have to ...
2
votes
0answers
381 views

How to setup KVM partitions?

I am a complete beginner at Linux. I'm trying to install SolusVM/KVM on a server with one 500 GB HD and one 256 SSD. SolusVM has a script on the site to download and install automatically, but how ...
-2
votes
1answer
1k views

Extended partition should have many filesystems

I need some related information on the following lines I found in an answer: A logical partition is a container for a filesystem (or an LVM volume or some swap space or a BSD partition or other ...
1
vote
3answers
4k views

How to resize logical volume to fit filesystem

How can I resize logical volume to fit filesystem automagically?
1
vote
1answer
160 views

What happens to data copied after undoing fdisk?

Suppose I have some drive with a single partition. For some reason I decide to repartition it, using fdisk. I create multiple partitions, then write the partition table, then exit fdisk. At this ...
4
votes
3answers
10k views

Partitioning disk image file

I want to partition a raw disk image with the following commands: #creating the blank image $ dd if=/dev/zero of=example.img bs=1M count=50 #write the partition table $ parted example.img mktable ...
2
votes
2answers
2k views

Is there an excellent tutorial on how to resize a rootfs partition (and shrink another) on a drive that is 100% allocated?

I'm experiencing the all-too-common "root partition full" situation. 100% of my hard drive is allocated. My home (ext4) partition has plenty of space to give up for my full root partition (rootfs). ...
0
votes
1answer
83 views

Why does X11 on Fedora 16 rely on non-boot device for startup?

I have recently had an incident in which my /var/mail/spool/ file grew to the size of 32G (yes, that is gigabytes), completely filling its system partition (/dev/sda2) and most of what I saw inside ...
1
vote
1answer
186 views

changing the partition of a linux

I have a ubuntu system as a virtual system on Virtual Box. It uses VHD as its hard disk. I manged to change the size of VHD using VHD resizer, now I want to expand the partition on vhd so it uses the ...
0
votes
1answer
2k views

Resize non-LVM ext4 root partition

How can I shrink/resize a non-LVM ext4 root partition? The problem is I can't unmount it and I don't have physical access.
9
votes
3answers
9k views

How can I script the creation of a single partition that uses the entire device?

I am specifically using this to partition and mount EBS volumes on Amazon EC2 instances, but really this should be generally applicable to initializing any new drive. As the question says I want to ...
0
votes
3answers
339 views

Partition /usr/local : Can I use the software there after reinstall?

I want to reinstall Linux OS, and before that, I think I will partition my hard disk again. (I just use a simple one partition / for root, and make Linux automatically put all other directories there)....
1
vote
1answer
1k views

How to resize root Volume Group

How Can I reduce size of root volume group? /dev/VolGroup00/LogVol00 I just have SSH access to Linux host.
2
votes
0answers
362 views

Setup Cloudmin on Centos installed in LVM

I installed CentOS 6 with default LVM partition pattern. according to this pattern Can I use Cloudmin and store KVM Disks in LVM as Logical Volume? I think Cloudmin requires creating new logical ...
3
votes
1answer
14k 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 ...