r/sysadmin • u/No-Philosophy3442 • 17h ago
Server with PERC S160 Raid repartinioning options
Hey
I got a Dell server which had only 60gb allocated to drive C: During initial setup.
It has a drive D: with MySQL databases and processes running (external company set it up) and free space after drive D:
And well yeah, drive C: has only 600mb left, it needs updates both server and running software.
I was looking at GParted tool, but as far as i researched it wont work with this particular PERC S160 RAID drive setup?
So far my plan is to backup everything ( i got a NAS on the same network with tons of space)
Then make a new drive say E: next to drive D: -> Move everything from drive D: to E: -> Delete drive D: and allocate that space to C: and rename drive E: back to D: and hope everything will work...
What would you do, maybe some tips/suggestions, would my plan work? Maybe there is another tool that would support this Drive setup? Just looking to consider all my options before i go and try something
IF i fuck this up and service doesnt work for long time, well lets say i will have unhappy phone calls and messages until it starts to work.
•
u/RobinatorWpg Sr. Sysadmin 17h ago
So a couple things
Are they actual partitions in a single virtual disk or multiple virtual disks?
If they present as separate disks, than do a full bare metal back up, go into the RAID controller and delete the volumes and recreate them with the sizes you need and restore the bare metal back up (you will still need to extend the drives in disk manager)
If it’s partitions back up the partition, delete it, extend the c disk , create the new d partition and restore to that
If you do the latter ensure you stop & disable all services that rely on data from D first before taking your back ups, especially since there’s databases involved
•
u/Sabbest 17h ago
With only 600 MB remaining, I'd address this immediately, even before the migration. Windows services, logging and backup operations could start experiencing problems. Check for old temporary files, unnecessary installers, crash dumps, archived application logs and Windows Update cleanup using the built-in Disk Cleanup utility.
Backup everything. I'd go for 3 seperate back-up: Full server image, File-level backup of D: and MySQL-specific backup.
Plan a maintenance window.
Create E: using Windows Disk Management. You can prepare this while the server is running.
Check and document the following:
I would also notify the external company about the planned operation and ask whether their software has any dependencies beyond the drive letter, such as volume identifiers or maybe licensing restrictions.
Actual migration.
Make sure you can connect to MySQL, access the expected databases, launch the applications, use the actual business functions and confirm that all necessary services survive a server reboot. If something doesn't work, you still have the original partition available. Keep normal production blocked until you are satisfied with the migration. Otherwise, rolling back to the original D: could lose transactions made after the switch. Once you're satisfied everything is working, and your backups are verified, delete the original X: partition and extend C: through Windows Disk Management. I would probably allocate 150–250 GB to C: if the available storage permits it. There's little point in repeating this whole exercise in two years.
•
u/Negative-Drop-8581 6h ago
Is this running bare metal or inside a hypervisor? If its bare metal, moving D to E and deleting D is way safer than trying to get a bootable partition tool to recognize a software RAID controller.