# Resize the hard drive.

**URL:** <https://forums.suse.com/t/resize-the-hard-drive/41608>\
**Category:** SUSE Linux Enterprise Server\
**Created:** [September 22, 2023, 5:43pm UTC](https://forums.suse.com/t/resize-the-hard-drive/41608 "2023-09-22T17:43:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergio](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Sergio](https://forums.suse.com/u/Sergio)\
**Post date:** [September 22, 2023, 5:43pm UTC](https://forums.suse.com/t/resize-the-hard-drive/41608/1 "2023-09-22T17:43:31Z")

</div>

Hello good morning.  
First of all, thank you very much for your help.  
we have a Suse v12 server installed on Vmware.

We now have a 500GB hard drive and we have been asked to upgrade the hard drive to 1TB.

After assigning 1T in Vsphere Clien we have entered the commands that appear in:

> **[Resizing File Systems | SLES 15 SP1](https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-resize-fs.html)**
>
> Resizing file systems—not to be confused with resizing partitions or volum…

but it gives us an error.

imatel@eSight:~\> sudo resize2fs /dev/sda3  
[sudo] password for root:  
resize2fs 1.43.8 (1-Jan-2018)  
resize2fs: Incorrect magic number in superblock while trying to open /dev/sda3  
A valid superblock could not be found for the file system.

I see that this documentation is for v15 but I can’t find the commands for v12.  
Can it be done in V12?  
Are they other commands?

---

<div class="post-metadata">

**Author:** ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)\
**Post date:** [September 22, 2023, 9:16pm UTC](https://forums.suse.com/t/resize-the-hard-drive/41608/2 "2023-09-22T21:16:42Z")

</div>

@Sergio Hi and welcome to the Forum 😄  
So you have expanded the vm system, and you have also extended the partition size via, say parted?
