[QUOTE=acshearer;58557]Hello,
Here are the results from running those commands…
wy-gwise:~ # pvs
wy-gwise:~ # vgs
No volume groups found
wy-gwise:~ # lvs
No volume groups found
wy-gwise:~ # lsblk
NAME MAJ:MIN RM SIZE RO MOUNTPOINT
cciss!c0d0 104:0 0 683.5G 0
ââcciss!c0d0p1 104:1 0 2G 0 [SWAP]
ââcciss!c0d0p2 104:2 0 544.8G 0 /
sr0 11:0 1 1024M 0
wy-gwise:~ # fdisk -l
Disk /dev/cciss/c0d0: 733.9 GB, 733909245952 bytes
255 heads, 63 sectors/track, 89226 cylinders, total 1433416496 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008f61b
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 63 4209029 2104483+ 82 Linux swap / Solaris
/dev/cciss/c0d0p2 * 4209030 1146732543 571261757 83 Linux
wy-gwise:~ #
Thanks,
Andrew[/QUOTE]
OK , now I got what you want.
You need to:
- [Color=red] Backup ALL data, as the following step is quite dangerous if you
make a mistake[/color]
- Run:
fdisk -l /dev/cciss/c0d0
Verify that partition table is old style ‘Dos’ and [color=red]not GPT[/color].
- Now delete partition 2 and recreate it in one step !
fdisk /dev/cciss/c0d0
Press ‘m’ for help.
Press ‘d’ and select second partition
Then press ‘n’ for new partition, ‘p’ for primary and select number ‘2’ for partition number.
Select start sector to be ‘4209030’ and end → just press ‘Enter’ for the end of the disk .
Last , but not least toggle the partition as bootable via ‘a’ flag.
Last print via ‘p’ and confirm that Second partition has same attributes as before , and only the END is higher number.
If anything differes - press ‘q’ to quit without any changes . If everything is the same and only the end is bigger - then press ‘w’ to write the changes.
- Run partprobe to try to redetect the bigger partition:
partprobe /dev/cciss/c0d0
Run either ‘lsblk’ or ‘fdisk -l’ and verify that the new partition has been redetected.
Otherwise reboot the system.
- Extend your filesystem.
As you got ext3, you can use:
resize2fs /dev/cciss/c0d0p2
[Color=red]As you will work with storage , Proper backup is needed. It would be easier if you got LVM , as it is quite flexible in that matter.[/color]
Good Luck!