Re: Accessing disks via their serial numbers.



On Mon, Jun 26, 2006 at 11:21:02AM +0000, Poul-Henning Kamp wrote:
In message <20060626095250.GB12511@xxxxxxxxxxxxxxxxx>, Pawel Jakub Dawidek writ
es:

Glabel(8) currently supports labeling any GEOM provider, but it steals
the last sector, which is not always acceptable.
=20
When is it not acceptable ?

When last sector is already occupied.

And what is last sector occupied by ?

This is simlar situation to the most common problem with gmirror(8).
When people decide to put their file system onto a mirror, it will eat
partition's last sector, which isn't always safe.
When disk is already partitioned and file systems are there, you cannot
just take the last sector.

I hope we don't play "convince phk@" game here.

In fact we do. I still very much consider myself in charge of
GEOM architecture, so anything that changes the GEOM api need to
pass the "convince phk" threshold.

I think this won't touch GEOM infrastructure. Most likely disk(9) KPI
will be extended.

--
Pawel Jakub Dawidek http://www.wheel.pl
pjd@xxxxxxxxxxx http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!

Attachment: pgpQpf75rQBWr.pgp
Description: PGP signature



Relevant Pages

  • Re: Cant add new 1TB disk in FreeBSD 6.1
    ... If I run bsdlabel -w ad4, ... it tells me that it can't write to the disk. ... Can you provide output from dmesg, as well as "geom disk list"? ... BIOS sector numbering starts with sector 1 ...
    (freebsd-questions)
  • Re: GEOM stacking
    ... make the resulting block device one sector shorter? ... No, when you create a mirror device, its size will be one sector less than size_of_raw_device. ... So when you add another GEOM class in it, the "last sector" will be the one before the last on the physical provider, and the new size will be two sectors less than physical, etc. ...
    (freebsd-stable)
  • Re: memory allocation question
    ... > | problem is that seeking to the end of a file opened in binary mode ... Seeking is based on the notion that a file fits the UNIXesque ... The file system only tracked which sectors on the ... If part of a sector was empty, ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Very slow performance - HELP!!
    ... good spare sector, and then altering the hard drive's private sector ... extra head travel involved can make the slowdown palpable. ... try to do what the HD's internal defect management has already failed ... the affected file system - it's no longer hidden under the OS. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Very slow performance - HELP!!
    ... good spare sector, and then altering the hard drive's private sector ... extra head travel involved can make the slowdown palpable. ... try to do what the HD's internal defect management has already failed ... the affected file system - it's no longer hidden under the OS. ...
    (microsoft.public.windowsxp.perform_maintain)