Skip to content

Error on big storage #1

@OlegVladimirov

Description

@OlegVladimirov

Hi!
If I made filesystem with command as showing in readme file - all working good, but when I'm increasing value in "s" parameter there is error while creating filesystem. Example below. How I can improve it?

$ sudo ~/chunkbd/chunkbd -c 5242880 -s 524288000 -v /dev/nbd1 /tmp/stor

# in other terminal:
$ sudo mkfs.ext4 /dev/nbd1
mke2fs 1.46.5 (30-Dec-2021)
Discarding device blocks: done
Creating filesystem with 128000 4k blocks and 128000 inodes
Filesystem UUID: d669b72d-e03d-4205-a1d0-dc17ef25c733
Superblock backups stored on blocks:
        32768, 98304

Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done



rm -f /tmp/stor/*

# size - 100 Gb
$ sudo ~/chunkbd/chunkbd -c 5242880 -s 107374182400 -v /dev/nbd1 /tmp/stor 

# in other terminal:
$ sudo mkfs.ext4 /dev/nbd1
mke2fs 1.46.5 (30-Dec-2021)
Discarding device blocks: done
Warning: could not erase sector 2: Input/output error
Creating filesystem with 26214400 4k blocks and 6553600 inodes
Filesystem UUID: 395fd92c-2b44-418c-9717-03806ac334ca
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: done
Warning: could not read block 0: Input/output error
Warning: could not erase sector 0: Input/output error
Writing inode tables: done
Creating journal (131072 blocks): done
Writing superblocks and filesystem accounting information: mkfs.ext4: Input/output error while writing out and closing file system

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions