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)

4
votes
4answers
5k views

Backup of LVM2 logical volume

I'd like to make backup on external drive of LVM2 logical volume in dd manner. Approach I consider is to make lv on extranl drive with identical size copy with dd (Please let me know if you see ...
1
vote
2answers
4k views

Partitioning for Web Servers

I was curious what some general best practices are in relation to partitioning for a new Linux VM that will be used as a web server? Are there certain guides that should be consulted or followed? ...
2
votes
1answer
181 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 ...
6
votes
2answers
1k views

How to properly unplug/plug removable LVM2 device?

How to properly unplug (remove) and later plug (insert) removable (hot-plug, usb etc) storage device with LVM2 on it ? I've found this note Remove (unplug, eject): lvchange -an ...
7
votes
5answers
21k views

How to salvage an unreadable usb flash drive

I have a 16GB USB flash drive that somehow got corrupted to the point in which even fdisk -l can't find it (I get a one-line error message saying: "Unable to open /dev/sdc") However, it is being ...
2
votes
1answer
243 views

Why does the /boot partition get updated when I install software

Based on some recommendations I read online, on install of a new (Ubuntu) system, I made my /boot partition separate from / and small in size (only around 50 MB). It makes sense to me that you would ...
2
votes
2answers
178 views

Why is my /home separate from /?

I was confused why I was getting out of space errors so I ran df and saw this: [me@fedlap /]$ df -h Filesystem Size Used Avail Use% Mounted on rootfs 43G ...
1
vote
3answers
568 views

Can I use FAT partition for /home?

I'm new to Debian. I've been using Ubuntu for almost 5 years now and I want to switch and use a different distro. I chose Debian. I would like to know if is it possible store the home directory in a ...
3
votes
3answers
1k views

Copying an HDD to a larger one by dd

I'm trying to copy an entire HDD which has IBM PC-style partition table to a larger one by dd on GNU/Linux. The questions are: Can I use the additional space on the larger disk by changing the ...
1
vote
1answer
756 views

Adding a populated existing disk device to a QEMU raw image

I have a raw QEMU image (vda.raw), and I would like to resize it and add an existing partition, using data I have in a file that contains a raw ext3 file system populated with data (vdb.raw). The two ...
3
votes
2answers
8k views

How extend linux partition with?(after success to extend : fail to boot computer)

I have Ubuntu and I want to enlarge the disk space of /dev/sda1 from 10GB to 90GB. gparted Ubuntu 9.04 live cd show: Partition File System Size /dev/sda1 ext4 10GB /dev/sda2 ...
9
votes
1answer
351 views

How can Solaris sub-partitions be accessed in FreeBSD?

First of all, Linux detects the partitions: sdg1: <solaris: [s0] sdg5 [s1] sdg6 [s2] sdg7 [s8] sdg8 > However, FreeBSD 9.0 shows only the main partition. Is it possible that only Solaris ...
1
vote
1answer
180 views

Making the transition to multiple hard drives with dual boot

Hi I'm looking for tip or things to watch out for, while I make the following changes to my system: I currently have a dual boot setup on one hard drive (win7 and ubuntu), I am going to change to a ...
3
votes
3answers
5k views

How to Expand LVM2 Partition in Fedora Linux

I've been using Fedora 15 on a VMWare virtual machine. Over time, the disk space I initially allocated for the file system began to run out, only 12GB left. I've expanded the disk space an extra 25GB. ...
2
votes
1answer
223 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
433 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 ...
3
votes
1answer
897 views

Create iso image of ext3 type

I want to create an ISO image which can be mounted with an ext3 partition type. How can I do that? I am using this command: [root@manage upload]# dd if=testParti.txt of=./diskImage.iso 41+1 records ...
1
vote
2answers
173 views

Where does the -i option in sed store the lines matching a regex?

I am trying to release space in my server's hd so I'm matching old dates in a log file with sed and it is decreasing but my root partition is now using 98% percent of it's space instead of 91% it was ...
1
vote
1answer
139 views

# of reads/writes for LVM vs. “regular” partitioning?

I am going to be installing linux to a USB flash drive (an actual install, not a "live usb"). I need it to be completely portable, so I can't realistically have the high-access partitions (swap, var, ...
0
votes
1answer
1k views

Shrink a Linux guest .vdi in VirtualBox?

I've seen instructions for shrinking the .vdi image for a Windows guest machine in VirtualBox 4.1.8. However, it used a tool to write zeroes to free space in the .vdi (nullfile-1.02.exe) that is for ...
1
vote
2answers
626 views

Software raid + separate partitions?

I have setup software RAID1-arrays using two 250GB harddrives. There's two arrays - one named md0 in which the system is kept and the other, md1 works as swap: # cat /proc/mdstat md0 : active raid1 ...
5
votes
3answers
636 views

how to use “Unusable” sectors outside defined partition boundaries

What might be a convenient way to stash some hidden data in the "Unusable" area following the last partition, or anywhere outside defined partition boundaries? For example, making it appear as a ...
9
votes
3answers
19k views

How do I partition a USB drive so that it's bootable and has a Windows-compatible data storage partition?

split from here I have a 16gb flash drive, which I want a live ISO to boot from (via unetbootin or something similar). It'll be some 32bit distro that I can plug-in and boot on whatever computer I ...
1
vote
1answer
231 views

Can a Linux install be moved from one computer to another?

split to here I have a 16gb flash drive which I want to contain a portable Linux install. If I could just install Knoppix onto the flash drive, and have that work on any computer, I could do that. ...
1
vote
0answers
1k views

WD MyBook 3TB - Gparted failed & HDD partitions recovery?

I have this new WD MyBook external HDD (USB 3.0/2.0); I created 3 partitions all of them ext3 type (~1 TB | ~1 TB | ~750 GB) I loaded lots of files all the partitions were like ~30% full on each, and ...
1
vote
2answers
417 views

Formating hdd to ext3 fails?

maybe i'm too stupid, but what's the command to format my external 2.5tb usb hdd to ext3? using mkfs.ext3 /dev/sdc1 works, but only gives me 300gb of space allocated... where am i failing? thanks in ...
6
votes
1answer
952 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 ...
14
votes
6answers
29k 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
42k 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
926 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
440 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
21k 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
668 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
2k 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
587 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
195 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
488 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
631 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
792 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
206 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
12k 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 ...