Tagged Questions
1
vote
1answer
54 views
restore filesystem after fdisk
I split a partition in two with fdisk, but after rebooting I've got partition in FAT filesystem (was ext4). What's can be wrong? And how to fix it or get data from bad partition? I hope this is ...
1
vote
1answer
32 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
47 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
0answers
101 views
Disable RAID auto detect at runtime
In Linux, I'm partitioning two disks for RAID1 with fdisk. The first disk partitioning succedes, but the second fail because the raid starts automatically and occupy also the second disk (why? it ...
2
votes
1answer
170 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
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
359 views
Unknown hard disk partition?
I want to mount my 2nd hard disk from my Linux vmware guest but I try mount -t ext3 /dev/sdb2 to no avail. fdisk -l /dev/sdb gives me unknown format:
/dev/sdb1 2048 4208639 ...
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 ...
4
votes
1answer
3k 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 ...
5
votes
3answers
680 views
Can't access USB HDD
I just bought a WD 1TB Caviar Blue drive, and a Bytecc HD-35SU enclosure for it. Snapped the drive in, went to plug it in on my laptop, nothing happened. I figured that probably meant I needed to ...
3
votes
2answers
933 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 ...