[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:57411] Debian7.7でUSB HDDの書込不可の不具合



Debian 7.6から7.7にしたところ外付けのUSB-HDDへ書込ができなくなりました。
USB-HDDはIDE HDDを4台内蔵したものです。

以下、USB HDDのdmesgです。

dmesg ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
[  102.149669] usb 1-1: new high-speed USB device number 3 using ehci_hcd
[  102.455172] usb 1-1: New USB device found, idVendor=04bb, idProduct=0109
[  102.455176] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  102.455178] usb 1-1: Product: I-O DATA HDZ-UES
[  102.455180] usb 1-1: Manufacturer: I-O DATA DEVICE INC.
[  102.455181] usb 1-1: SerialNumber: 0000000042A4
[  102.696205] Initializing USB Mass Storage driver...
[  102.696925] scsi3 : usb-storage 1-1:1.0
[  102.697050] usbcore: registered new interface driver usb-storage
[  102.697052] USB Mass Storage support registered.
[  103.696717] scsi 3:0:0:0: Direct-Access     I-O DATA HDZ-UE1.0TS      6706 PQ: 0 ANSI: 0 CCS
[  103.700547] sd 3:0:0:0: Attached scsi generic sg5 type 0
[  103.702445] sd 3:0:0:0: [sde] 1953588672 512-byte logical blocks: (1.00 TB/931 GiB)
[  103.709362] sd 3:0:0:0: [sde] Write Protect is off
[  103.709365] sd 3:0:0:0: [sde] Mode Sense: 34 00 00 00
[  103.715345] sd 3:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  103.793668]  sde: sde1
[  103.917921] sd 3:0:0:0: [sde] Attached SCSI disk
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

またfdiskでパーティションを作成すると終了時にエラーが発生するようになりました。

fdisk ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
root@sv-server:~# fdisk /dev/sde
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x6da6b331.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): p

Disk /dev/sde: 1000.2 GB, 1000237400064 bytes
255 heads, 63 sectors/track, 121605 cylinders, total 1953588672 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6da6b331

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): n
Partition type:
   p   primary (0 primary, 0 extended, 4 free)
   e   extended
Select (default p):
Using default response p
Partition number (1-4, default 1):
Using default value 1
First sector (2048-1953588671, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-1953588671, default 1953588671):
Using default value 1953588671

Command (m for help): p

Disk /dev/sde: 1000.2 GB, 1000237400064 bytes
255 heads, 63 sectors/track, 121605 cylinders, total 1953588672 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6da6b331

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1            2048  1953588671   976793312   83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

Error closing file <-- ★ここ
root@sv-server:~# fdisk -l /dev/sde

Disk /dev/sde: 1000.2 GB, 1000237400064 bytes
69 heads, 63 sectors/track, 449410 cylinders, total 1953588672 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6da6b331

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1            2048  1953588671   976793312   83  Linux
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

パーティションはできていてフォーマットも問題なくできます。
マウントも問題ありません。
(mount /dev/sde1 /mnt)

mount(一部) ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
/dev/sde1 on /mnt type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

ここでls -l /mntをすると/dev/sde1にro属性が設定されてしまいます。

mount(一部) ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
/dev/sde1 on /mnt type ext4 (ro,relatime,user_xattr,barrier=1,data=ordered)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

で、結果的に書込不可となります。
同じ事をLive CDの7.6でやるとrwのままです。
kernelの問題だと思うのですが、どなたか回避策をご存知ありませんか?
sataの外付けUSB HDDだとroにはならないんですが…。(?_?;)

以上、宜しくお願いします。