Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • XFS perte de disque 1To :(

    Posted on

    Bonjour,

    Je suis en environement virtuel VMWare.
    J'ai crée un disque de 5To:
    [root]# fdisk -l /dev/sde
    Disk /dev/sde: 5497.6 GB, 5497558138880 bytes
    255 heads, 63 sectors/track, 668373 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: 0x00000000

    Dans lequel j'ai crée un PV, VG et LV
    [root]# lvs
    LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
    lv_add vg_add -wi-ao---- 5.00t

    Ensuite j'ai mis un fs XFS et je me retrouve avec une taille de 4To
    [root]# df -hT
    Filesystem Type Size Used Avail Use% Mounted on
    /dev/drbd0 xfs 4.0T 522M 4.0T 1% /add

    Le XFS info donne:
    [root@]# xfs_info /add
    meta-data=/dev/drbd0 isize=256 agcount=83, agsize=13041664 blks
    = sectsz=512 attr=2
    data = bsize=4096 blocks=1073446912, imaxpct=25
    = sunit=0 swidth=0 blks
    naming =version 2 bsize=4096 ascii-ci=0
    log =internal bsize=4096 blocks=25472, version=2
    = sectsz=512 sunit=0 blks, lazy-count=1
    realtime =none extsz=4096 blocks=0, rtextents=0

    XFS GROW donne:
    [root]# xfs_growfs -d /add
    meta-data=/dev/drbd0 isize=256 agcount=83, agsize=13041664 blks
    = sectsz=512 attr=2
    data = bsize=4096 blocks=1073446912, imaxpct=25
    = sunit=0 swidth=0 blks
    naming =version 2 bsize=4096 ascii-ci=0
    log =internal bsize=4096 blocks=25472, version=2
    = sectsz=512 sunit=0 blks, lazy-count=1
    realtime =none extsz=4096 blocks=0, rtextents=0
    data size unchanged, skipping

    Je ne comprends pas ou sont passé les 1To :(
    Quelqu'un a une idée ?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat