I have a question that may have a very simple answer: is there a way to safely modify the size of a slice (fdisk partition)? I have a system running on a local RAID array that I have extended from 1 TB to 2 TB, and I would like to have a 1.5 TB file system on it. I'm willing to delete the last file system on the current slice in order to create a new one (or use growfs if appropriate), but first I have to have a bigger slice. And I really would prefer not to do an install from scratch.
This the current partition table:
Is there a way to edit the partition table without losing the existing file systems?
The other option I thought of was using ZFS and zpool to combine storage from two separate partitions into a singe file system. Unfortunately this server is still running 6.1-RELEASE so no ZFS -- but maybe it's worth going through doing an upgrade if there is no way to extend the slice.
Any advice would be most welcome ...
This the current partition table:
Code:
Disk name: da0 FDISK Partition Editor
DISK Geometry: 243147 cyls/255 heads/63 sectors = 3906156555 sectors (1907303MB)
Offset Size(ST) End Name PType Desc Subtype Flags
0 63 62 - 12 unused 0
63 1953070182 1953070244 da0s1 8 freebsd 165
1953070245 1953096539 3906166783 - 12 unused 0
The following commands are supported (in upper or lower case):
A = Use Entire Disk G = set Drive Geometry C = Create Slice F = `DD' mode
D = Delete Slice Z = Toggle Size Units S = Set Bootable | = Wizard m.
T = Change Type U = Undo All Changes W = Write Changes
Is there a way to edit the partition table without losing the existing file systems?
The other option I thought of was using ZFS and zpool to combine storage from two separate partitions into a singe file system. Unfortunately this server is still running 6.1-RELEASE so no ZFS -- but maybe it's worth going through doing an upgrade if there is no way to extend the slice.
Any advice would be most welcome ...