Gentoo Archives: gentoo-user

From: luis jure <ljc@××××××××××××.uy>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] deleting virtual cd in usb hard disc
Date: Tue, 26 Jan 2010 12:20:15
Message-Id: 20100126101936.0f6d0799@acme.acmenet
1 hello list,
2
3 i purchased recently an external usb disk (HP SimpleSave, 1.5 TB).
4
5 i re-formatted it with an ext4 file system, but i can't get rid of the
6 "virtual cd" created by the manufacturer with some backup software.
7
8 when i connect the disc, the system sees two devices: a hard disc (for
9 example /dev/sdb, that i can format with the usual tools) and a virtual
10 cd-rom (sr1 or sg1), that i'd like to erase but i don't know how to
11 manipulate.
12
13 here is the relevant part of dmesg:
14
15 usb 1-2: new high speed USB device using ehci_hcd and address 5
16 usb 1-2: configuration #1 chosen from 1 choice
17 scsi3 : SCSI emulation for USB Mass Storage devices
18 usb-storage: device found at 5
19 usb-storage: waiting for device to settle before scanning
20 scsi 3:0:0:0: Direct-Access HP External HDD 1028 PQ: 0 ANSI: 4
21 sd 3:0:0:0: Attached scsi generic sg2 type 0
22 scsi 3:0:0:1: CD-ROM HP Virtual CD 4607 1028 PQ: 0 ANSI: 4
23 sd 3:0:0:0: [sdb] 2928904192 512-byte logical blocks: (1.49 TB/1.36 TiB)
24 sr1: scsi3-mmc drive: 51x/51x caddy
25 sr 3:0:0:1: Attached scsi CD-ROM sr1
26 sr 3:0:0:1: Attached scsi generic sg3 type 5
27 usb-storage: device scan complete
28 sd 3:0:0:0: [sdb] Write Protect is off
29 sd 3:0:0:0: [sdb] Mode Sense: 23 00 10 00
30 sd 3:0:0:0: [sdb] Assuming drive cache: write through
31 sd 3:0:0:0: [sdb] Assuming drive cache: write through
32 sdb: sdb1
33 sd 3:0:0:0: [sdb] Assuming drive cache: write through
34 sd 3:0:0:0: [sdb] Attached SCSI disk
35
36
37
38 and of ls -l /dev
39
40 brw-rw---- 1 root disk 8, 16 ene 26 10:02 /dev/sdb
41 brw-rw---- 1 root disk 8, 17 ene 26 10:02 /dev/sdb1
42 brw-rw---- 1 root cdrom 11, 1 ene 26 10:02 /dev/sr1
43
44
45 any help would be greatly appreciated, i've been searching the web for
46 days and found many people asking the same question, but no solution
47 yet...
48
49 best,
50
51 lj

Replies

Subject Author
Re: [gentoo-user] deleting virtual cd in usb hard disc Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] deleting virtual cd in usb hard disc Paul Hartman <paul.hartman+gentoo@×××××.com>