1
vote
1answer
23 views

“inode_size (128) * inodes_count (0) too big for a filesystem with 0 blocks” while creating a file system

My partition table looks like this: Device Boot Start End Blocks Id System /dev/sda1 * 2048 32505855 16251904 83 Linux /dev/sda2 32505856 33554431 ...
2
votes
0answers
30 views

CentOS 5.6 expand ext4 partition , have steps but parted shows as ext3

I have a Adaptec 5805 HW RAID card with a 6.3 TB RAID-6 array (partitioned via Parted GPT, all of which is formatted as ext4 on CentOS 5.6). I want to expand this to 7.5GB and from reading these are ...
1
vote
1answer
65 views

harddisk not recognized / filesystem too large to mount safely on this system / hdparm shows garbage

I have a 4 TB Verbatim external hard disk with ext4. It can be successfully mounted at my Raspberry Pi. I am trying to plug it at my WD Mybook Live Duo device where I have SSH root access. When I ...
1
vote
1answer
144 views

Best parameters for ext4 filesystem to handle virtualbox disk images

I have ext4 partition, which holds disk image files VirtualBox works with. They all are fixed-size images (i.e. files never change their size). They are defragmented as much as possible (with ...
3
votes
1answer
1k views

Short read while trying to open partition

On my personal home computer running Kubuntu Linux 13.04 I'm having trouble mounting a partition that is very dear to me. My backup policy is to perform a backup about monthly, so I do have a backup ...
3
votes
1answer
361 views

“unknown partition table” - misconfigured kernel

I was compiling a custom linux kernel for a newly installed machine, and after booting into the new kernel (3.12), the init process fails to find a root device, which I traced to the system getting an ...
2
votes
4answers
716 views

How do I find the offset of an ext4 filesystem?

I have a failing hard drive that is unable to write or read the first sectors of the disk. It just gives I/O errors and that is all there is. There are other areas on the disk that seem (mostly) fine. ...
3
votes
4answers
298 views

How can I partition a volume in a regular file without loop?

I'm trying to play around with OS development, and I started with a boot loader, where phase 0 loads phase 1 from a file (specified by inode) on an ext4 partition (specified by first LBA). Of course, ...
1
vote
2answers
2k views

Disk problems prevent me from booting, or set the disk to read-only. How do I fix the disk?

Problem: Since about one week ago, my Ubuntu system encounters various severe and strange problems. Sometimes the whole system suddenly freezes. I have to push the power button to shut down the ...
-2
votes
1answer
376 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 ...
0
votes
1answer
1k 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
429 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
1k 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 ...
3
votes
1answer
3k 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 ...
0
votes
0answers
37 views

Recreating EXT4 partition without losing data [duplicate]

Possible Duplicate: Can't mount EXT4 hard drive after mounting it in windows I have a 2TB Western External USB harddisk. I formatted it to EXT4. one time I plugged it to a windows ...
2
votes
1answer
1k views

Why my partitions don't show the right capacity on a 4096 byte physical block hard drive?

After reading a lot about why newer 4096 byte physical block hard drives should be partitioned taking care of alignment (Linux on 4KB-sector disks: Practical advice, What is partition alignment and ...
3
votes
1answer
6k views

How can I shrink a LUKS partition, what does `cryptsetup resize` do?

I am in progress of resizing a LUKS encrypted partition that contains a single ext4 filesystem (no LVM or something). The cryptsetup FAQ recommends to remove the old partition and recreate it, but ...
3
votes
1answer
8k views

How do I determine the new size for resize2fs?

I want to shrink an ext4 filesystem to make room for a new partition and came across the resize2fs program. The command looks like this: resize2fs -p /dev/mapper/ExistingExt4 $size How should I ...
3
votes
1answer
6k views

Creating an ext4 partition fails with “invalid blocks count”

Environment: - Virtual machine on VMWare ESX 4.0 - OS: fully up to date RHEL 5.8 After adding a new (virtual) disk I want to create an ext4 partition on LVM on this disk. Steps taken so far: $ sudo ...
2
votes
2answers
3k 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. ...
8
votes
1answer
467 views

Can I convert an ext3 partition into ext4 without formatting?

my home directory is on a separate partition which still uses ext3. Is there a way to convert this partition into ext4 in a non-destructive way?
6
votes
2answers
383 views

Defragging an ext partition?

Why don't ext2/3/4 need to be defragmented? Is there no fragmentation at all?