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.
0
votes
1answer
56 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 ...
1
vote
1answer
304 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 ...
0
votes
0answers
92 views
disk labels mismatch [closed]
I've added a new disk in a hurry and now I have several mismatches. Would anyone care to help me to sort them out. Below I'm giving fstab, fdisk -l,
df -la (apparently "/" (root) is duplicated ??, ...
0
votes
2answers
81 views
How to format Partition
I need to format Partition on Redhat 5.2
/dev/mapper/VG00-LogVol 148G 111G 36G 76% /u001/app/oracle
Please advice how to do it.
Thanks
0
votes
4answers
194 views
Optimal Setup for Windows & Linux - Sharing and Partitioning
This question gets a little complicated so please bear with me.
So we have a new custom designed desktop which we will be mostly a dedicated machine for scientific computations in FORTRAN and ...
4
votes
4answers
8k views
How to extend CentOS 5 partition on VMware?
I have a CentOS 5 virtual machine and I added 20GB more to disk size. How do I initialize and extend the available space?
I'm new to Linux, so what should I do?
I tried loading GParted as well, ...
1
vote
1answer
168 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-
...
2
votes
2answers
631 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 ...
0
votes
2answers
92 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 ...
5
votes
3answers
566 views
How to resize an LVM partition at the beginning
I have resized lvm partitions in the past, but after the resize there is space at the end of the partition. What I want to achive is to have the space at the beginning of the partition instead.
The ...
3
votes
1answer
172 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 ...
2
votes
2answers
82 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 ...
1
vote
1answer
217 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
1answer
263 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
139 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
115 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
326 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 ...
1
vote
2answers
704 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 ...
1
vote
1answer
191 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 ...
4
votes
1answer
564 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
135 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 ...
7
votes
3answers
715 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
...
5
votes
2answers
1k views
Finding the sector size of a partition
I answered this question, assuming that the *.img file had a sector size of 512.
How do I query a device, or the image of a device, to find the correct sector size?
1
vote
3answers
215 views
Partioning free space for manual install
I have 53 gigabytes that need formating into /root, /swap, /usr/, /var, /home, and /tmp. If there's any help what is the best space allocation? Please let me know.
0
votes
2answers
160 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 ...
3
votes
3answers
216 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
181 views
How to setup KVM partitions?
I'm trying to install SolusVM/KVM on a server with one 500 GB HD and one 256 SSD. I am a complete beginner at Linux. SolusVM has a script on the site to download and install automatically, but how do ...
0
votes
0answers
88 views
Xubuntu installer not showing NTFS option
So, I wanted a part of my extended partition to be NTFS formatted to access my data from both Win 7 and Xubuntu OSes. Only problem, Xubuntu installer did not show the NTFS option when I was manual ...
-2
votes
1answer
214 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 ...
2
votes
2answers
310 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).
...
1
vote
1answer
66 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 ...
3
votes
3answers
272 views
Is it safe to use GParted while booted?
I have Linux Mint installed on an external hard drive, and I have the 4 main partitions (/boot, swap, /, and /home). I also have 600GB of unallocated space. I know there's always the chance of data ...
1
vote
2answers
292 views
Partitioning disk image file
I want to partition 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 msdos
...
6
votes
3answers
844 views
How to read the in-memory (kernel) partition table of /dev/sda?
I accidentally overwrote my /dev/sda partition table with GParted (full story on AskUbuntu). Since I haven't rebooted yet and my filesystem is still perfectly usable, I was told I might be able to ...
1
vote
1answer
75 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 ...
3
votes
1answer
92 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
1answer
968 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.
0
votes
1answer
302 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
111 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 ...
2
votes
1answer
966 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
179 views
LVM with SSD and SATA hard disks
Is it possible to create LVM partitions for both SSD and SATA hard disks? I mean if there isn't any conflicts.
3
votes
3answers
2k views
Mount NTFS image file created using partimage
From an old disk which I don't have at hand, I have created a file named winxp.img using partimage. As the filename suggests, the partition contained Windows XP and was formatted with NTFS.
(The ...
0
votes
1answer
235 views
Identical mount points for two file systems when installing Linux
So, I'm going through Crunchbang's installer (very similar to Debian's), and am at the partitioning step. I chose the 'Guided - use entire disk and set up encrypted LVM' method (usually I do manual ...
3
votes
3answers
247 views
When and why do block devices need to be partitioned? [duplicate]
Possible Duplicate:
The merits of a partitionless filesystem
So I've got a block device, say /dev/sda or /dev/loop0. Clearly if I want to boot from the former, or I want to subdivide it ...
1
vote
1answer
2k views
Partition table not recognized by Linux kernel
I experience relatively often that the partition table of a USB stick or SD card is suddenly no longer recognized by the kernel while (g)parted and fdisk still see it, as do other systems. I can even ...
0
votes
1answer
256 views
how to restore a logical partition to it's original ext4 format
This question is following Unable to mount /home/ partition after reinstalling grub after reinstalling windows 7 where the diagnostic was that installing windows 7 deleted my /home partion, lovingly ...
2
votes
1answer
621 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
311 views
Help with unzipping a .dd.gz, possibly corrupted
I recieved this file that I was told was a copy of a hard drive (or disk). The file is "sheeva-mem.dd.gz". I tried to unzip the file in a linux Fedora machine. This yielded "unexpected end of file". ...
2
votes
1answer
325 views
Move / to a new partition
I have Windows 7 and Debian dual-booted on my laptop. I'm getting cramped for space on the Debian side, so I want to remove the Windows partition and use the whole computer for Debian. I'm currently ...
3
votes
1answer
1k views
recovering ext4 partition after dd'ing over start of HD
I accidentally used dd and wrote over the first 208MB of my external disk. What I wrote over is a partition on its own (Debian nestinstaller) so what I see now is not my old (now damaged) ext4 ...
