Friday, 3 February 2017

Server 2016 Nano Server, grow Cluster Shared Volume (CSV) using PowerShell.

Hello,

Growing a disk was always been so easy in the past, but with Nano server, you have to figure out a way to do it via PowerShell, as the option to Grow partition was grayed out for me in Server Manager (added as a remote server), and there is no DiskPart.

The procedure is pretty simple once you get it figured out. I took most of the information from another blog, but modified it a little bit to deal with CSV, as the other blog did not. I tried to find the link to the original blog but couldn't find it.

Anyways, here are the steps required:


  1. Expand the LUN on your SAN first.
  2. Connect to a remote PoweShell session on your Nano Server.
  3. Execute Update-HostStorageCache to rescan for storage changes.
  4. Type get-disk to get the information about the disks on your system. Take note of the disk number in the first colum. Let's assume I am working with disk 1.
  5. Type get-parition -DiskNumber 1 this will show you the partitions on the disk in question. Take note of the Partition Number, in my case, it's 2. 
  6. Execute Get-PartitionSupportedSize -DiskNumber 1 -ParitionNumber 2 to verify that the SizeMin and SizeMax are different numbers. SizeMax should be the size of your underlying disk, whereas SizeMin would be your current parition size. 
  7. Set a variable to match SizeMax so that you can grow the partition to the full size of the disk. Execute the following command, $MaxSize = (Get-PartitionSupportedSize -DiskNumber 1 -PartitionNumber 2).sizeMax
  8. Finally run this command to change your disk to the size set in the MaxSize variable, Resize-Partition -DiskNumber 1 -PartitionNumber 2 -Size $MaxSize


12 comments:

  1. Its a very nice and informative article, Thank you for sharing this topic. visit:-Ace Divino

    ReplyDelete

  2. This Ace Starlit Noida 152 is unique and unique in itself, as compared to other residential projects. Ace Starlit is being built in Sector 152 Noida Expressway for high societies with all the luxury facilities.if you have any queries please Visit our site:- Ace Starlit

    ReplyDelete
  3. ATS Destinaire is a destination for investment and self-use. We offer affordable 3 and 4 bhk apartments in Greater Noida West. So Destinaire is such a project by taking what people complete with their dream home search, you get all sorts of amenities.

    ReplyDelete
  4. In the past, it was very easy to maintain the disk utility for a long time, and this was because the update of applications came after a very long time. Writing Valley

    ReplyDelete
  5. Excellent article, very interesting to read. I really love to visit such a nice blog post. Thanks so much for sharing. ebsu cut off mark for computer science

    ReplyDelete
  6. The piece of info shared is really nice and motivating. Your outcome is clear and understandable. I appreciate your effort in sharing. sule lamido university remedial application form

    ReplyDelete
  7. From machine learning to neural networks, chatgpt free alternative is your gateway to AI enlightenment.

    ReplyDelete
  8. Hello there! I'm Thomas, an expert assignment writer working in collaboration with Do My Online Class. I am committed to providing students with flawless assignments that showcase their understanding.

    ReplyDelete
  9. I appreciate your informative post on expanding Cluster Shared Volumes (CSV) in Windows Server 2016 Nano Server using PowerShell. It's essential to have a detailed guide for this process, and your step-by-step instructions are quite valuable. Delta Electronics Power Supply Review

    ReplyDelete
  10. Exploring the intricacies of Server 2016 Nano Server and the power of PowerShell to grow Cluster Shared Volume (CSV) is a journey worth undertaking for tech enthusiasts. The efficiency and precision of PowerShell commands truly make the process seamless. Speaking of efficiency, anyone have recommendations on reliable services to pay for assignments? As we empower our servers with advanced capabilities, let's also ensure academic success with the right support.

    ReplyDelete
  11. For students grappling with computer science concepts, specialized assistance can be a game-changer. Whether it's understanding complex algorithms, debugging code, or managing database queries, professional help ensures clarity and precision. Expert tutors and online platforms provide tailored Computer Science Assignment Help across various topics like programming languages, data structures, and software development. This targeted assistance not only helps students complete their assignments with greater accuracy but also deepens their comprehension of critical concepts. With access to these resources, students can significantly enhance their learning experience, tackle challenging assignments more efficiently, and achieve better academic results. Moreover, such support helps in building a strong foundation for future studies and professional endeavors in the field of computer science.

    ReplyDelete
  12. Kumbh Mela and Sangam: जानें कुंभ मेला और संगम का धार्मिक महत्व। प्रयागराज में आयोजित होने वाले इस पवित्र आयोजन में आस्था और अध्यात्म का अद्वितीय संगम होता है।

    ReplyDelete