Tagged Questions
1
vote
1answer
30 views
How to realign a disk on logical volume with minimum to zero down time
A system running un-align disk partition that needs to be aligned without loss of data on all the partition including mbr with the minimum to no down time.
2
votes
1answer
46 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
1answer
118 views
fdisk, dd, and the Rapsberry pi
I was trying to wipe my 4GB SD card which acts as the hard drive for the Raspberry Pi, so I went into Mac OS X Disk Utility* and Erased the entire disk, and specified that the whole disk be one big ...
3
votes
1answer
135 views
Remount lvm partitions after OS reinstallation
I recently upgraded to Linux Mint from Ubuntu. I have overwritten /dev/sda2 which had Ubuntu. I had earlier created two logical volumes opt and virtualization from /dev/sda1. I forgot to take the lvm ...
3
votes
1answer
208 views
How do I make use of unused space on my boot drive on FreeBSD
I have an old FreeBSD Server (running 7.3-RELEASE) that desperately needs additional storage. In fact, it has some-- the original 20G SCSI drives have been replaced by 300G SCSI drives, so in theory ...
2
votes
2answers
91 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 ...
1
vote
1answer
270 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 ...
2
votes
1answer
167 views
Create Logical Volume with non-LVM partition
I'm not sure if the title actually depicts my question, but I will try to explain.
I have seen everywhere it is mentioned to create a partition of type LVM (8e) and then create logical volume with ...
1
vote
1answer
288 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 ...
1
vote
2answers
260 views
How to resize logical volume to fit filesystem
How can I resize logical volume to fit filesystem automagically?
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 ...
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 ...
6
votes
1answer
760 views
How to properly align partitions?
I'm trying to understand what are the rules for creating correctly aligned partitions.
For the moment I'm playing with parted on a virtual machine, but I'm planning to move to a real hard disk when I ...
1
vote
2answers
4k views
What are the ramifications of not having a valid partition table?
I recently upgraded my Ubuntu from 11.10 (Oneiric) to 12.04 (Precise Pangolin) on a Dell Inspiron B130 Laptop. When I run fdisk -l it says that my HD doesn't contain a valid partition table. I have ...
1
vote
2answers
610 views
Fdisk partition alignment, NAND, not showing specified heads
I ran fdisk with these options,
fdisk -H 32 -S 32 /dev/sdc
Then I made a new label, and created an aligned first partition.
Disk /dev/sdc: 7743 MB, 7743995904 bytes
32 heads, 32 sectors/track, ...
1
vote
1answer
422 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 ...
5
votes
3answers
324 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 ...
1
vote
0answers
955 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 ...
8
votes
6answers
13k 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 ...
4
votes
3answers
3k views
Change the number of the partition from sda1 to sda2
I have a disk with two partitions: sda1 and sda2. I would like change the number of sda1 to sda2 and sda2 to sda1.
It's possible but I don't remember the procedure. i.e. My first partition will be ...
7
votes
3answers
703 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
...
2
votes
2answers
2k 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.
...
4
votes
1answer
2k views
How do I check how much free space left on a device to create a partition
Let's say I have this virtual machine running:
[root@centos ~]# fdisk -ul
Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders, total 16777216 sectors
Units = sectors ...
2
votes
2answers
695 views
Errors from cfdisk with new external USB backup drive
I've picked up an HP SimpleSave sd500a backup drive. This is a 2.5", 500GB drive. It has a mysterious CD-like partition, but otherwise seems to contain a WD Scorpio Blue disk. It seems that the ...
3
votes
2answers
922 views
How to create a new partition on a hard disk?
How do I create a new partition on a hard disk, from the terminal? I've been reading the man pages for fdisk and mkfs, but they're confusing. I need to know how to create a new partition on a blank ...
8
votes
1answer
2k views
How does partprobe work?
I was looking for a way to refresh the scsi bus (or any other bus, for that matter) that would allow my kernel ( 2.6.18-194-el5 on CentOS 5.5) to know about the partitions on a drive, and I couldn't ...
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?