|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Alexey Vlasov 2:5020/400 28 Jan 2007 01:12:29 To : All Subject : Разметка диска с использованием sysinstall на FreeBSD 6.1 --------------------------------------------------------------------------------
Hi,
Вопрос по разметке, делаю все согласно мануалу Formatting Media.
Имеется диск:
# atacontrol cap ad3
Protocol ATA/ATAPI revision 6
device model ST380011A
serial number 5JV3TTS1
firmware revision 3.06
cylinders 16383
heads 16
sectors/track 63
lba supported 156301488 sectors
lba48 supported 156301488 sectors
dma supported
overlap not supported
Захожу в раздел Partition, при воборе диска получаю предупреждение:
WARNING: A geometry of 155061/16/63 for ad3 is incorrect.
Usinga more likely geometry. If this geometry is incorrect or you
are unsure as to whether or not it's correct, please consult
the Hardware Guide in the Documentation submenu or use the
(G)eometry command to change it now.
Remember: you need to enter whatever your BIOS thinks the
geometry is! For IDE, it's what you were told in the BIOS
setup. For SCSI, it's the translation mode your controller is
using. Do NOT use a ``physical geometry''.
Уже в самом FDISK'е, вижу такую геометрию:
Disk name: ad3 FDISK Partition
Editor
DISK Geometry: 9729 cyls/255 heads/63 sectors = 156296385 sectors
(76316MB)
Верна ли она?
Создаю слайс на весь диск:
Offset Size(ST) End Name PType Desc
Subtype Flags
0 63 62 - 12 unused 0
63 156296322 156296384 ad3s1 8 freebsd 165
156296385 5103 156301487 - 12 unused 0
Почему остается пустое пространство в 5k блоков?
Захожу в Disklabel, создаю одну партицию, на весь слайс:
Disk: ad3 Partition name: ad3s1 Free: 0 blocks (0MB)
Part Mount Size Newfs Part Mount Size
Newfs
---- ----- ---- ----- ---- ----- ----
-----
ad3s1d /garbage 76316MB UFS2+S Y
Однако партиции ad3s1d нет:
# ls -l /dev/ad3*
crw-r----- 1 root operator 0, 73 27 янв 21:21 /dev/ad3
crw-r----- 1 root operator 0, 113 27 янв 01:54 /dev/ad3s1
crw-r----- 1 root operator 0, 114 27 янв 01:54 /dev/ad3s1c
Вопрос, почему ее нет?
--- ifmail v.2.15dev5.3
* Origin: http://groups.google.com (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/374443d933d91.html, оценка из 5, голосов 10
|