Re: Odd Partition/Newfs Question

2006-01-27 Thread Jerry McAllister
 
 I don't think I've done any harm, but I wanted another opinion or two.
 
 Added an additional hard drive to an existing setup.
 Then gave the following commands:
 
 bsdlabel -w /dev/ad2
 newfs -U -O 2 /dev/ad2
 mount /dev/ad2 /mnt/ad2
 
 then went about the business of moving and rearranging for having the new 
 disk.
 After the machine was back in production, I saw the odd mount point.
 
 My question is, have I just ended up ignoring the bsdlabel command and I'm
 using the entire disk as a raw disk or is there some set of reasons I should
 re-bsdlabel and newfs /dev/ad2a this time.

What do you mean 'odd mount point'.   You don't give any information
that would make it seem odd.   

What does doing 'bsdlabel ad2'  show you?
Does it seem happy?
Does newfs seem happy?

What you have done is create a dangerously dedicated disk,
but that shouldn't be a problem.Usually, I would do an fdisk
and create slices and a partition within the first slice so
my addressing would look more like  /dev/ad2s1a.

But, I don't think that should cause a problem if you only use
the whole disk for FreeBSD.

jerry

 
 John.
 --
 -
 John F Hoover
 [EMAIL PROTECTED]
 ___
 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: Odd Partition/Newfs Question

2006-01-27 Thread John Hoover
  Added an additional hard drive to an existing setup.
  Then gave the following commands:
 
  bsdlabel -w /dev/ad2
  newfs -U -O 2 /dev/ad2
  mount /dev/ad2 /mnt/ad2
 
  then went about the business of moving and rearranging for having the new 
  disk.
  After the machine was back in production, I saw the odd mount point.
 
  My question is, have I just ended up ignoring the bsdlabel command and I'm
  using the entire disk as a raw disk or is there some set of reasons I 
  should
  re-bsdlabel and newfs /dev/ad2a this time.

 What do you mean 'odd mount point'.   You don't give any information
 that would make it seem odd.

 What does doing 'bsdlabel ad2'  show you?
 Does it seem happy?
 Does newfs seem happy?


I didn't include output from bsdlabel, as it didn't show anything unexpected
%bsdlabel /dev/ad2
# /dev/ad2:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a: 490234736   16unused0 0
  c: 4902347520unused0 0 # raw part,
don't edit

which looked right, the odd part was the fact that I issued
newfs /dev/ad2  in place of the usual
newfs /dev/ad2a

So it looked to me as I just ignored the bsdlabel command and newfs'd the
entire disk starting at an offset of 0 instaid of the usual offset of 16
With this being a non boot disk, I wasn't worried about it, I'm
expecting that the
bsdlabel information will get overwritten by the directory structure
sooner or later.
Except for forgetting that I have a device with a filesystem and no
slices/partitions
my concern is that there is some internal bookkeeping issue that I'm
not aware of
that will cause trouble if I don't have valid label information on the disk.

Oh, I tested it with another disk, the directory entries will
overwrite the label information,
no real surprise there.

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


Odd Partition/Newfs Question

2006-01-26 Thread John Hoover
I don't think I've done any harm, but I wanted another opinion or two.

Added an additional hard drive to an existing setup.
Then gave the following commands:

bsdlabel -w /dev/ad2
newfs -U -O 2 /dev/ad2
mount /dev/ad2 /mnt/ad2

then went about the business of moving and rearranging for having the new disk.
After the machine was back in production, I saw the odd mount point.

My question is, have I just ended up ignoring the bsdlabel command and I'm
using the entire disk as a raw disk or is there some set of reasons I should
re-bsdlabel and newfs /dev/ad2a this time.

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