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.
3
votes
3answers
465 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
433 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
6k 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 ...
4
votes
0answers
222 views
How Solaris sub-partitions can be accessed in FreeBSD?
First of all, Linux detects it okay:
sdg1: <solaris: [s0] sdg5 [s1] sdg6 [s2] sdg7 [s8] sdg8 >
But FreeBSD 9.0 does show only main partition. Possibly only Solaris labels for sparc64 is ...
1
vote
1answer
145 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 ...
2
votes
2answers
2k 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
160 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
303 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
554 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
146 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
117 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
964 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
433 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
343 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 ...
5
votes
3answers
5k 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
180 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
982 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
288 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
650 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 ...
9
votes
6answers
14k 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
72 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
540 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 ...
6
votes
2answers
20k 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
418 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
262 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 ...
13
votes
1answer
6k 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
345 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
0answers
1k 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 ...
3
votes
3answers
2k 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
408 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 ...
3
votes
3answers
159 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
342 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
713 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 ...
2
votes
1answer
416 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 ...
2
votes
2answers
714 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 ...
1
vote
2answers
934 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
802 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
578 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
461 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 ...
1
vote
2answers
936 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
142 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 ...
2
votes
1answer
5k 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
756 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
95 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: ...
2
votes
1answer
420 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
355 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
1k 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
561 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 ...
2
votes
1answer
459 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
254 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 ...