Mount и fsck проблемы

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Mount и fsck проблемы

Aleksei Bebinov
Внешний SCSI RAID
Dmesg:
sd0 at scsibus2 targ 5 lun 0: <ATA, MedeaVideoRaid4r, 4RT1> SCSI2 0/direct
fixed
sd0: 114436MB, 114436 cyl, 64 head, 32 sec, 512 bytes/sec, 234365000 sec
total

Создаю раздел
fdisk -e sd0
Enter 'help' for information
fdisk: 1> p m
Disk: sd0       geometry: 14588/255/63 [114432 Megabytes]
Offset: 0       Signature: 0xAA55
         Starting       Ending       LBA Info:
 #: id    C   H  S -    C   H  S [       start:      size   ]
------------------------------------------------------------------------
 0: 00    0   0  0 -    0   0  0 [           0:           0M] unused
 1: 00    0   0  0 -    0   0  0 [           0:           0M] unused
 2: 00    0   0  0 -    0   0  0 [           0:           0M] unused
*3: A6    0   1  1 - 14587 254 63 [          63:      114432M] OpenBSD

Создаю партишн:
disklabel -E sd0
# Inside MBR partition 3: type A6 start 63 size 234356157

Treating sectors 63-234356220 as the OpenBSD portion of the disk.
You can use the 'b' command to change this.

Initial label editor (enter '?' for help at any prompt)
> a a
offset: [63]
size: [234356157]
FS type: [4.2BSD]
> q
Write new label?: [y] y

Пытаюсь примонтировать и начинается проблема :
-bash-3.00# mount -t ffs /dev/sd0a /chroot
mount_ffs: /dev/sd0a on /chroot: Inappropriate file type or format

И далее с fsck:
fsck /dev/sd0a
** /dev/rsd0a
BAD SUPER BLOCK: MAGIC NUMBER WRONG

LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y

SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE
-b OPTION TO FSCK_FFS TO SPECIFY THE LOCATION OF AN ALTERNATE
SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck_ffs(8).

Fsck -b  с подставлением бакапных суперблоков не помогает



Что тут можно поправить чтоб винт заработал?


Reply | Threaded
Open this post in threaded view
|

Re: Mount É fsck ÐÒÏÂÌÅÍÙ

Dennis S.Davidoff
Thursday, November 17, 2005, 2:42:45 PM, you wrote:

AB> Внешний SCSI RAID
AB> Dmesg:
AB> sd0 at scsibus2 targ 5 lun 0: <ATA, MedeaVideoRaid4r, 4RT1> SCSI2 0/direct
AB> fixed
AB> sd0: 114436MB, 114436 cyl, 64 head, 32 sec, 512 bytes/sec, 234365000 sec
AB> total

AB> Создаю раздел
AB> fdisk -e sd0
AB> Enter 'help' for information
fdisk: 1>> p m
AB> Disk: sd0       geometry: 14588/255/63 [114432 Megabytes]
AB> Offset: 0       Signature: 0xAA55
AB>          Starting       Ending       LBA Info:
AB>  #: id    C   H  S -    C   H  S [       start:      size   ]
AB> ------------------------------------------------------------------------
AB>  0: 00    0   0  0 -    0   0  0 [           0:           0M] unused
AB>  1: 00    0   0  0 -    0   0  0 [           0:           0M] unused
AB>  2: 00    0   0  0 -    0   0  0 [           0:           0M] unused
AB> *3: A6    0   1  1 - 14587 254 63 [          63:      114432M] OpenBSD

AB> Создаю партишн:
AB> disklabel -E sd0
AB> # Inside MBR partition 3: type A6 start 63 size 234356157

AB> Treating sectors 63-234356220 as the OpenBSD portion of the disk.
AB> You can use the 'b' command to change this.

AB> Initial label editor (enter '?' for help at any prompt)
>> a a
AB> offset: [63]
AB> size: [234356157]
AB> FS type: [4.2BSD]
>> q
AB> Write new label?: [y] y

AB> Пытаюсь примонтировать и начинается проблема :
AB> -bash-3.00# mount -t ffs /dev/sd0a /chroot
AB> mount_ffs: /dev/sd0a on /chroot: Inappropriate file type or format

AB> И далее с fsck:
AB> fsck /dev/sd0a
AB> ** /dev/rsd0a
AB> BAD SUPER BLOCK: MAGIC NUMBER WRONG

AB> LOOK FOR ALTERNATE SUPERBLOCKS? [yn] y

AB> SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE
AB> -b OPTION TO FSCK_FFS TO SPECIFY THE LOCATION OF AN ALTERNATE
AB> SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck_ffs(8).

AB> Fsck -b  с подставлением бакапных суперблоков не помогает

AB> Что тут можно поправить чтоб винт заработал?

А ``newfs /dev/sd0a' после disklabel?

--
Sincerely,
Dennis


Reply | Threaded
Open this post in threaded view
|

RE: Mount и fsck проблемы

Aleksei Bebinov
Сорри, забыл!
Усе заработало

?

>
> А ``newfs /dev/sd0a' после disklabel?
>
> --
> Sincerely,
> Dennis
>
>
>
>