ONTAP Discussions

Resize a LUN from Linyx

darraghos
2,114 Views

ON windows we can use Snapdrive and it's tooling (Powershell and its CLI tool) to resize a LUN directly from the Windows Server. This also allows non-storage team members to do this offloading the work for that team in dev environments. We know have RHEL 7 connected to Ontap 9 and have the same requirements.  Is this possible as Snapdrive does not seem to be available for Linux. Are there any host utilities that can do this?

1 ACCEPTED SOLUTION

Fabian1993
2,104 Views
I think you have to use LVM commands, maybe there is any 3. Party Tool, but i heard nothing about that.

 

SnapDrive for UNIX lets you increase the size of the storage system volume group or disk group. You use the snapdrive storage resize command to do this.

  This command does not let you resize host volumes or file systems. For example, you cannot use the resize command to change the size of a file system on a LUN. You need to use the LVM commands to resize host volumes and file systems after you have resized the underlying disk group.

You can put the storage resize operations into the following general categories:

  • Setting a target size in bytes to which you want to increase the storage

  • Specifying a number of bytes by which you want to increase the storage

View solution in original post

2 REPLIES 2

Fabian1993
2,105 Views
I think you have to use LVM commands, maybe there is any 3. Party Tool, but i heard nothing about that.

 

SnapDrive for UNIX lets you increase the size of the storage system volume group or disk group. You use the snapdrive storage resize command to do this.

  This command does not let you resize host volumes or file systems. For example, you cannot use the resize command to change the size of a file system on a LUN. You need to use the LVM commands to resize host volumes and file systems after you have resized the underlying disk group.

You can put the storage resize operations into the following general categories:

  • Setting a target size in bytes to which you want to increase the storage

  • Specifying a number of bytes by which you want to increase the storage

Public