Keresés

Hirdetés

Új hozzászólás Aktív témák

  • papasoft80

    tag

    válasz csendes #5341 üzenetére

    Az normális, hogy a maximum filesystem blocks az jóval kisebb, mint a létrehozott partícióé?
    [root@vmh boot]# fdisk -cu /dev/sdc
    Note: sector size is 4096 (not 512)

    Command (m for help): p

    Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
    228 heads, 37 sectors/track, 57892 cylinders, total 488378646 sectors
    Units = sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x2cf0279a

    Device Boot Start End Blocks Id System

    Command (m for help): n
    Command action
    e extended
    p primary partition (1-4)
    p
    Partition number (1-4): 1
    First sector (256-488378645, default 256): 4096
    Last sector, +sectors or +size{K,M,G} (4096-488378645, default 488378645): 488374272

    Command (m for help): p

    Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
    228 heads, 37 sectors/track, 57892 cylinders, total 488378646 sectors
    Units = sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x2cf0279a

    Device Boot Start End Blocks Id System
    /dev/sdc1 4096 488374272 1953480708 83 Linux

    Command (m for help): W
    The partition table has been altered!

    Calling ioctl() to re-read partition table.
    Syncing disks.
    [root@vmh boot]# mkfs.ext4 -b 4096 /dev/sdc1
    mke2fs 1.41.12 (17-May-2010)
    Filesystem label=
    OS type: Linux
    Block size=4096 (log=2)
    Fragment size=4096 (log=2)
    Stride=1 blocks, Stripe width=0 blocks
    122093568 inodes, 488370177 blocks
    24418508 blocks (5.00%) reserved for the super user
    First data block=0
    Maximum filesystem blocks=4294967296
    14904 block groups
    32768 blocks per group, 32768 fragments per group
    8192 inodes per group
    Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
    102400000, 214990848

    Writing inode tables: 1777/14904

Új hozzászólás Aktív témák