I have a problem with a flash drive, which I haven't used for a couple of months, and forget why, and what is on it.
Standard
And I can't do anything:
Don't know what to do. I bought this only year ago. Don't think that it's reached its limit of rewriting data.
Any suggestions?
Thanks.
Standard
% sudo mount /dev/da0[s1] /mnt/
won't help.
Code:
% sudo fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=489 heads=255 sectors/track=63 (16065 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=489 heads=255 sectors/track=63 (16065 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 23 (0x17),(OS/2 BM: hidden IFS (e.g. HPFS))
start 64, size 5836768 (2849 Meg), flag 80 (active)
beg: cyl 0/ head 2/ sector 1;
end: cyl 1018/ head 178/ sector 32
The data for partition 2 is:
sysid 1 (0x01),(Primary DOS with 12 bit FAT)
start 5836832, size 126784 (61 Meg), flag 0
beg: cyl 1019/ head 0/ sector 1;
end: cyl 1023/ head 178/ sector 32
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
% sudo fdisk /dev/da0s1
******* Working on device /dev/da0s1 *******
parameters extracted from in-core disklabel are:
cylinders=363 heads=255 sectors/track=63 (16065 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=363 heads=255 sectors/track=63 (16065 blks/cyl)
fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 5831532 (2847 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 362/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
% sudo fdisk /dev/da0s2
******* Working on device /dev/da0s2 *******
parameters extracted from in-core disklabel are:
cylinders=7 heads=255 sectors/track=63 (16065 blks/cyl)
parameters to be used for BIOS calculations are:
cylinders=7 heads=255 sectors/track=63 (16065 blks/cyl)
fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 112392 (54 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 6/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
Code:
% gpart show da0
=> 63 7866305 da0 MBR (3.8G)
63 1 - free - (512B)
64 5836768 1 !23 [active] (2.8G)
5836832 126784 2 !1 (62M)
5963616 1902752 - free - (929M)
Code:
% gpart list da0
Geom name: da0
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7866367
first: 63
entries: 4
scheme: MBR
Providers:
1. Name: da0s1
Mediasize: 2988425216 (2.8G)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 32768
Mode: r0w0e0
attrib: active
rawtype: 23
length: 2988425216
offset: 32768
type: !23
index: 1
end: 5836831
start: 64
2. Name: da0s2
Mediasize: 64913408 (62M)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 2988457984
Mode: r0w0e0
rawtype: 1
length: 64913408
offset: 2988457984
type: !1
index: 2
end: 5963615
start: 5836832
Consumers:
1. Name: da0
Mediasize: 4027580416 (3.8G)
Sectorsize: 512
Mode: r0w0e0
And I can't do anything:
Code:
% sudo fsck /dev/da0
fsck: Could not determine filesystem type
Code:
% sudo dd if=/dev/zero of=/dev/da0
dd: /dev/da0: Permission denied
1+0 records in
0+0 records out
0 bytes transferred in 0.011140 secs (0 bytes/sec)
Don't know what to do. I bought this only year ago. Don't think that it's reached its limit of rewriting data.
Any suggestions?
Thanks.