disklabel question

2006-10-20 Thread James Villa

# /dev/ad6s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:  122880004.2BSD 2048 16384 11272
 b:  2097152  1228800  swap
 c: 1023982470unused0 0 # raw part, don't edi
t
 d:  1228800  33259524.2BSD 2048 16384 11272
 e:  1228800  45547524.2BSD 2048 16384 11272
 f: 4096  57835524.2BSD 2048 16384 28552
 g: 55654695 467435524.2BSD 2048 16384 28552


as single user i run: disklabel -e /dev/ad6s1 and i add:

h: 53903178  0  4.2BSD 2048 16384 28552
is this correct?

from sysinstall:
unuse
size(ST): 53903178
end: 156301487
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disklabel question

2006-10-20 Thread Jerry McAllister
On Sat, Oct 21, 2006 at 12:33:17AM +0800, James Villa wrote:

 # /dev/ad6s1:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
  a:  122880004.2BSD 2048 16384 11272
  b:  2097152  1228800  swap
  c: 1023982470unused0 0 # raw part, don't 
  edi
 t
  d:  1228800  33259524.2BSD 2048 16384 11272
  e:  1228800  45547524.2BSD 2048 16384 11272
  f: 4096  57835524.2BSD 2048 16384 28552
  g: 55654695 467435524.2BSD 2048 16384 28552
 
 
 as single user i run: disklabel -e /dev/ad6s1 and i add:
 
 h: 53903178  0  4.2BSD 2048 16384 28552
 is this correct?

Wouldn't this overlap/wipe out partitions 1, b, d, e, f and 
part of g?

What are you trying to do here?
It looks like your disk slice is all used up.  There
is no room to add an 'h' partition without deleting some of the 
existing stuff.

jerry

 from sysinstall:
 unuse
 size(ST): 53903178
 end: 156301487
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disklabel question and enlarging a diskslice

2004-01-17 Thread Ion-Mihai Tetcu
On Fri, 16 Jan 2004 17:20:09 -0600
kitsune [EMAIL PROTECTED] wrote:

 On Fri, 16 Jan 2004 17:05:35 -0600
 kitsune [EMAIL PROTECTED] wrote:
 
  Is it possible to use disklabel to enlarge a diskslice?
  
  I have been doing a fresh install of fbsd and I
  forgot I have a 40GB instead of a 20GB drive. Can this be fixed
  using disklabel or do I have to copy everything to another drive,
  reslice it, and then copy the stuff back over?
 
 Whoops, this question should have been over fdisk, not 

See growfs(8).
 

-- 
IOnut
Unregistered ;) FreeBSD user
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disklabel question and enlarging a diskslice

2004-01-17 Thread kitsune
On Sat, 17 Jan 2004 15:22:40 +0200
Ion-Mihai Tetcu [EMAIL PROTECTED] wrote:
 
 See growfs(8).

All ready figured out a way of moving stuff around to fix the prob =]

btw growfs is not useful here becuase it is a diskslice that was the
prob, not a fs.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


disklabel question and enlarging a diskslice

2004-01-16 Thread kitsune
Is it possible to use disklabel to enlarge a diskslice?

I have been doing a fresh install of fbsd and I
forgot I have a 40GB instead of a 20GB drive. Can this be fixed using
disklabel or do I have to copy everything to another drive, reslice
it, and then copy the stuff back over?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disklabel question and enlarging a diskslice

2004-01-16 Thread kitsune
On Fri, 16 Jan 2004 17:05:35 -0600
kitsune [EMAIL PROTECTED] wrote:

 Is it possible to use disklabel to enlarge a diskslice?
 
 I have been doing a fresh install of fbsd and I
 forgot I have a 40GB instead of a 20GB drive. Can this be fixed
 using disklabel or do I have to copy everything to another drive,
 reslice it, and then copy the stuff back over?

Whoops, this question should have been over fdisk, not disklabel.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


disklabel question

2003-12-27 Thread Jason
hey folks, I just migrated my freebsd server from a couple of 
older/smaller scsi disks to a new ide controller with a bigger ATA133 
disk. I have all the partitions moved over to the new drive..
the /etc/fstab on the new drive is updated. The bootmanager is installed 
on the new drive.. but when I boot, I get

Invalid partition
No /boot/loader

FreeBSD/i386 BOOT
Default: 0:ad(0,a)/kernel
boot:

At the boot: prompt if I enter 0:ad(4,e)/kernel, it boots fine.

here is the old vs the new
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/da0s1a   126M53M63M45%/
/dev/da0s1f   252M21M   211M 9%/tmp
/dev/da0s1e   252M   124M   108M53%/var
/dev/da1s1e   3.9G   2.7G   946M74%/usr
procfs4.0K   4.0K 0B   100%/proc

new:
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad4s1e   984M   534M   372M59%/
/dev/ad4s1f36G   2.2G31G 6%/usr
procfs4.0K   4.0K 0B   100%/proc


so Im thinking I need to do something with disklabel but I want to make 
sure that I dont destroy my so far working efforts.

regards,
Jason

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disklabel question

2003-12-27 Thread Josh Paetzel
On Sat, Dec 27, 2003 at 09:02:37AM -0500, Jason wrote:
 hey folks, I just migrated my freebsd server from a couple of 
 older/smaller scsi disks to a new ide controller with a bigger ATA133 
 disk. I have all the partitions moved over to the new drive..
 the /etc/fstab on the new drive is updated. The bootmanager is installed 
 on the new drive.. but when I boot, I get
 
 Invalid partition
 No /boot/loader
 
 FreeBSD/i386 BOOT
 Default: 0:ad(0,a)/kernel
 boot:
 
 At the boot: prompt if I enter 0:ad(4,e)/kernel, it boots fine.
 
 here is the old vs the new
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/da0s1a   126M53M63M45%/
 /dev/da0s1f   252M21M   211M 9%/tmp
 /dev/da0s1e   252M   124M   108M53%/var
 /dev/da1s1e   3.9G   2.7G   946M74%/usr
 procfs4.0K   4.0K 0B   100%/proc
 
 new:
 FilesystemSize   Used  Avail Capacity  Mounted on
 /dev/ad4s1e   984M   534M   372M59%/
 /dev/ad4s1f36G   2.2G31G 6%/usr
 procfs4.0K   4.0K 0B   100%/proc
 
 
 so Im thinking I need to do something with disklabel but I want to make 
 sure that I dont destroy my so far working efforts.
 
 regards,
 Jason

I believe a look through /boot/defaults/loader.conf should set you on the path 
to booting goodness. :)

Josh Paetzel

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]