Re: Using a hard drive without partitions
From: Nikolas Britton (nikolas.britton_at_gmail.com)
Date: 07/30/05
- Previous message: Kris Kennaway: "Re: correct syntax for openssl 0.9.8 in port"
- In reply to: Gary W. Swearingen: "Re: Using a hard drive without partitions"
- Next in thread: Gary W. Swearingen: "Re: Using a hard drive without partitions"
- Reply: Gary W. Swearingen: "Re: Using a hard drive without partitions"
- Reply: Glenn Dawson: "Re: Using a hard drive without partitions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 30 Jul 2005 12:58:24 -0500 To: "Gary W. Swearingen" <garys@opusnet.com>
On 7/30/05, Gary W. Swearingen <garys@opusnet.com> wrote:
> Nikolas Britton <nikolas.britton@gmail.com> writes:
>
> > Drive:
> > Dangerously dedicated
> > /dev/da0s1
> > newfs -O2 -U
>
> I think you're using "dangerously dedicated" wrongly. A DD disk is one
> which has no standard partition table in the MBR; the "disklabel"
> sectors (16) start at sector 0 (or with your no-secondary-partitions-
> either method, your filesystem would start there (newfs /dev/da0)).
>
But in FreeBSD your disk needs a slice otherwise it's not compatable
with fdisk / bsdlabel / growfs... I think.
> You've got a standard partition table with the s1 entry in use, which
> is not "dangerous". The FAQ has an entry on DD disks.
But it is "dangerous" because it starts at sector 0. I've read that
FAQ as well as greg's book, Lucas's book, unix power tools, the man
pages, handbook, etc. I will reread them again.
>
> I can't say much about your main question; I've never heard of doing
> it. It sounds less "dangerous" than putting a FS in a file, like
> we do with ISO filesystems all the time.
>
Yea that's the problem ;-)..... I've never heard of doing it like that
too but it does work.
I'm going to be working on this server today and I'll post some of the
details of fdisk, bsdlabel, etc. to see if I can help clarify things.
Thanks
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Kris Kennaway: "Re: correct syntax for openssl 0.9.8 in port"
- In reply to: Gary W. Swearingen: "Re: Using a hard drive without partitions"
- Next in thread: Gary W. Swearingen: "Re: Using a hard drive without partitions"
- Reply: Gary W. Swearingen: "Re: Using a hard drive without partitions"
- Reply: Glenn Dawson: "Re: Using a hard drive without partitions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Corrupted OS
... then fdisk and bsdlabel will be happy to work on it. ... bsdlabel -w
-B da0s1 ... As for the corrupt OS, I don't understand what that is and why ...
(freebsd-questions) - Re: Corrupted OS
... Once everything on that disk is unmounted ... then fdisk and bsdlabel
will be happy to work on it. ... The problem *is* a corrupt OS. ... (freebsd-questions) - Re: no ad1s3a,b,d... on ad1s3 after bsdlabel
... I thought that it is enough to overwrite first 1M of slice with zeros. ... fresh
bsdlabel appeared on it. ... I deduced from it that fdisk is necessary only for dedicated
and new ... The data for partition 1 is: ... (freebsd-questions) - fdisk, bsdlabel and hidden tricks
... recently i was playing with fdisk and bsdlabel to create ... a new FreeBSD
slice in the MBR on the same disk i ... create partitions on it on a second disk. ...
could have saved the reboot) to let the bsdlabel do the work. ... (freebsd-stable) - Re: How to find disk slice layout
... The primary divisions that FreeBSD recognizes and fdisk handles are slices. ...
MS- calls these primary partitions. ... Within each slice, FreeBSD can create partitions
named a-h, with 'c' ... Just type bsdlabel adNsX replacing ... (freebsd-questions)