T
T
TheSima2016-06-23 12:02:06
*nix-like systems
TheSima, 2016-06-23 12:02:06

How to mount ext4 bs=64k?

Was, lived, worked WD MyBookLive (NAS) ...
Suddenly stopped working, the files on it remained necessary. I connected the disk to a Linux machine via USB-> SATA, partitions are visible, only 4, the one that stores the files is the last
fdisk -l:
Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 53603FD0-E47D-4079-9349-E28D65E59A5F
Device Start End Sectors Size Type
/dev/sdb1 1032192 5031935 3999744 1.9G Linux RAID
/dev/sdb2 5031936 9031679 3999744 1.9G Linux RAID
/dev/sdb3 30720 1032191 1001472 489M Linux filesystem
/dev/sdb4 9031680 976771071 967739392 461.5G
Linux
filesystem 0 /dev/sdb4
And now what I have come to and actually the main questions: NAS
we have :)) works on powerpc...
the system on it was painted over, from the interfaces one Sata and one Ethernet, which naturally does not rise.
We go further, I read that they say there is a block size limit in Linux on x86_64:
512 <= BLOCK_SIZE <= PAGE_SIZE.
I have:
$getconf PAGE_SIZE
4096
Actually a question: How to mount FS (file system) with BS(Block_size) > 4k?
I also came across the fact that Red Hat supports BS>4k, but so far I have not been able to mount:
$uname -a
Linux Acer-ilaK 4.3.0-kali1-amd64 #1 SMP Debian 4.3.3-5kali4 (2016-01 -13) x86_64 GNU/Linux
$mount -t ext4 /dev/sdb4 /mnt/sd
mount: wrong fs type, bad option, bad superblock on /dev/sdb4,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
$dmesg | tail
: EXT4-fs (sdb4): bad block size 65536

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mystray, 2016-06-23
@TheSima

aptitude install fuseext2
fuseext2 -o ro -o sync_read /dev/sdb4 /mnt/sd

In terms of performance, of course, full fuse, but you will remove the files.

T
TheSima, 2016-06-26
@TheSima

What to do if it hangs stupidly when going to / mnt / sd ?
Found the answer.
The system boots, then open the tty (damn it, I don’t know how it will be in Russian, the console input of the tunnel, Alt + Crtl + F1 (2,3 ..)) we enter the system and mount the command fuseext2 -o ro -o sync_read / dev /sdb4 /mnt/sd
Then cd /mnt/sd and copy.. Thanks!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question