Author Topic: Windows network drive shows just 2TB but Zentyal's 8TB drive  (Read 1381 times)

alecaru

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +2/-0
    • View Profile
Windows network drive shows just 2TB but Zentyal's 8TB drive
« on: August 26, 2017, 11:19:45 am »
I setup a network drive on windows share and expected it would find the right size the disk and partition is: 7.1 TB, but it shows 2 TB.
This is an iScsi connection between Zentyal and a NAS. Under Zentyal the drive is perfectly mounted and fdisk -l shows the following:


Disk /dev/mapper/zentyal--vg-root: 27.4 GiB, 29418848256 bytes, 57458688 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


Disk /dev/mapper/zentyal--vg-swap_1: 2.1 GiB, 2277507072 bytes, 4448256 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


Disk /dev/sda: 7.1 TiB, 7829901541376 bytes, 15292776448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 2048 bytes / 2048 bytes
Disklabel type: gpt
Disk identifier: 66DCD905-7A2D-4695-BFB7-E0664100F151

Device     Start         End     Sectors  Size Type
/dev/sda1   2048 15292776414 15292774367  7.1T Linux filesystem
« Last Edit: August 26, 2017, 11:26:24 am by alecaru »

alecaru

  • Zen Apprentice
  • *
  • Posts: 47
  • Karma: +2/-0
    • View Profile
Re: Windows network drive shows just 2TB but Zentyal's 8TB drive
« Reply #1 on: August 26, 2017, 12:48:51 pm »
solved using the following command in command line:

resize2fs -p /dev/sda1

The great thing is that made all online (no need to unmount). Actually I was copying files on the drive.