Find the answer to your Linux question:
Results 1 to 2 of 2
Dear all, i think i'm wasting a lot of space due to cylinder size of my disks. Here the fdisk partition table: Code: [~]# fdisk /dev/xvda WARNING: DOS-compatible mode is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2012
    Location
    Milano, Italy
    Posts
    2

    Question Logical Cylinder Size of the Disks - is it possible to change it?


    Dear all,

    i think i'm wasting a lot of space due to cylinder size of my disks.
    Here the fdisk partition table:

    Code:
    [~]# fdisk /dev/xvda
    
    WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
             switch off the mode (command 'c') and change display units to
             sectors (command 'u').
    
    Command (m for help): p
    
    Disk /dev/xvda: 428.4 GB, 428422987776 bytes
    255 heads, 63 sectors/track, 52086 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00050b5c
    
        Device Boot      Start         End      Blocks   Id  System
    /dev/xvda1   *           1          64      512000   83  Linux
    Partition 1 does not end on cylinder boundary.
    /dev/xvda2              64       52086   417867771   8e  Linux LVM
    It seems that my logical size cylinder are of:
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Is it right or i'm in wrong?

    Thanks,
    Max

  2. #2
    Just Joined!
    Join Date
    Nov 2012
    Location
    Milano, Italy
    Posts
    2
    Ok,

    i found some good answer after google a lot.
    There is no much about Block Size (or Cluster Size on FAT system).

    My system is running with a Block Size of 4Kb which means a lot of space wasted (especially on a web/mail server that handle toons of small files).

    I would like to resize my Block Size to 512b.
    Is it possible?
    Any suggestion?

    Thanks,
    Max

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •