Thread: fdisk Question
View Single Post
  #1   (View Single Post)  
Old 3rd February 2009
Crotalus's Avatar
Crotalus Crotalus is offline
New User
 
Join Date: May 2008
Posts: 7
Default fdisk Question

I need to move my file systems to another drive because my /usr is at 98% and growing. I thought that I would use dump/restore or tar to move the files. Here is my problem; I created with ver 5.4 a drive with /tmp /var /opt /usr /home. I had no problems with this configuration. I bought a new hard drive in order have space. I have upgraded to ver 6.2 since the initial install. I wanted to create the same file systems on the new drive appended with a "n" to keep them apart until I could rename them with disk label. ie /tmpn When I used fdisk to create the new partitions I was able create all of them, ad10s1, ad10s2, ad10s3, ad10s4, and "X". After some research I found that FreeBSD will allow 7 partitions . The "X" is a result of having more partitions than FreeBSD can handle. Is there a change with ver 6.2 that has reduced the number? There is a total of 7 partitions, 2 unused and 5 used. Am I SOL in trying to put 5 partitions on the drive?



Disk name: ad10 FDISK Partition Editor
DISK Geometry: 19457 cyls/255 heads/63 sectors = 312576705 sectors (152625MB)

Offset............Size(ST)...........End....Name.. PType...Desc....Subtype..Flags

.............0..............63.............62..... ..-.......12.....unused.........0
............63....31455207....31455269...ad10s1... .8.....freebsd.....165
..31455270....52420095....83875364...ad10s2.....8. ...freebsd.....165
..83875365....41929650...125805014...ad10s3....8.. ..freebsd......165
.125805015...41929650...167734664....ad10s4...8... ..freebsd.....165
167734665...144842040...312576704.......X.......8. ....freebsd.....165
312576705...........5103...312581807.......-......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


Thanks!

Keith
Reply With Quote