I'm having a bit of a problem that i'm hoping someone can help me with. I was just on the horn with Netapp AGAIN today for nearly an hour and they couldn't figure out the proper syntax to resizing a lun via Snapdrive on the command line. This link below shows the command and syntax however I'm a little unclear (being a non-Unix expert) so I'm reaching out to see if any of you can help me accomplish this ASAP.
And below is some out put of the syntax I used from the link above. Maybe one of you can help me with the correct command to resize the lun on our Netapp using Snapdrive for Linux. I keep getting this error returned when running the "snapdrive storage resize" command.
I'm not sure what "-dg_file" means nor do i know why it doesn't understand the "-lun" option. Again, the syntax in this command i'm sure is wrong but i have tried many different variations!
The resize operation is not supported directly on logical host volumes, or on file systems that reside on logical host volumes or on LUNs. In those cases, you must use the LVM commands to resize the storage.
You cannot resize a LUN; you must use the -addlun option to add a new LUN.
snapdrive storage resize -dg -addlun
This will add a new lun with the specifiesd size.
Do a snapdrive storage show -all to list the diskgroup,filesystem name.
Hope this helps.
Re: Problem with resizing luns via Snapdrive for Linux 4.1.1