Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Repartition disk

Status
Not open for further replies.

COTLG

Technical User
Apr 15, 2003
107
US
Hi,

Please I want to destroy two of my disk slices(partitions) and merge the two together so that I can have a bigger space assigned to one partition. Can any one direct me on how to go about this?

Best Regards,
Chike.
 
If this is a standalone disk (not managed by any volume manager), you can only do this if the slices are adjacent. You can find this out using [tt]format[/tt]. If you know the device names, unmount them and go into [tt]format[/tt], select the drive, then type [tt]part[/tt] to go to the partition menu, then type [tt]print[/tt] to print the current partition map. This will show you the drive's current partitioning.

I won't do into detail on how to do it, but if they are adjacent, you can delete them both and create a single partition in their place. Then, write the partition map and exit, then run the [tt]newfs[/tt] command to create a new file system on the newly created slice. Then update the [tt]/etc/vfstab[/tt] entries for the new file system and mount it.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top