* Cannot mount old ext2 cdrom, but e2fsck shows no problems
@ 2001-06-05 7:36 Nick Urbanik
2001-06-05 7:59 ` Svein Erik Brostigen
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Nick Urbanik @ 2001-06-05 7:36 UTC (permalink / raw)
To: Linux Kernel list
Dear folks,
I made 18 ext2 cdroms in October 1998 using an old (new at the time) Red
Hat system. Now I can't mount them. e2fsck shows no problems. I also
can dd them to a file, then mount the file. But I want to be able to
simply access them directly. Current system: RH 7.1 with all updates.
Sorry, I can't remember the exact command I used to create the images.
I also want to better understand the output of dumpe2fs, and how to
relate this to mount.
I will be very grateful for any help that increases my understanding of
what is going on.
$ sudo mount -t ext2 /dev/scd0 /cdrom -o ro
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
or too many mounted file systems
Other symptoms:
$ sudo fdisk -l /dev/scd0
Note: sector size is 2048 (not 512)
Disk /dev/scd0: 0 heads, 0 sectors, 0 cylinders
Units = cylinders of 1 * 2048 bytes
Disk /dev/scd0 doesn't contain a valid partition table
$ e2fsck -v -n /dev/scd0 2>&1 | tee e2fsck-v-n-dev-scd0
e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
/dev/scd0 has gone too long without being checked, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
12714 inodes used (7%)
78 non-contiguous inodes (0.6%)
# of inodes with ind/dind/tind blocks: 2692/233/0
523394 blocks used (78%)
0 bad blocks
11306 regular files
1117 directories
0 character device files
0 block device files
0 fifos
0 links
282 symbolic links (282 fast symbolic links)
0 sockets
--------
12705 files
$ dumpe2fs -h /dev/scd0
dumpe2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
Filesystem volume name: <none>
Last mounted on: <not available>
Filesystem UUID: 7eb1b040-59f7-11d2-9e35-002018530df2
Filesystem magic number: 0xEF53
Filesystem revision #: 0 (original)
Filesystem features: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 166624
Block count: 665600
Reserved block count: 33280
Free blocks: 142206
Free inodes: 153910
First block: 1
Block size: 1024
Fragment size: 1024
Blocks per group: 8192
Fragments per group: 8192
Inodes per group: 2032
Inode blocks per group: 254
Last mount time: Fri Oct 2 21:06:45 1998
Last write time: Fri Oct 2 23:53:28 1998
Mount count: 3
Maximum mount count: 20
Last checked: Fri Oct 2 20:57:46 1998
Check interval: 15552000 (6 months)
Next check after: Wed Mar 31 20:57:46 1999
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
(I originally sent this to the Red Hat list, but there was no response).
--
Nick Urbanik, Dept. of Information & Communications Technology
Hong Kong Institute of Vocational Education (Tsing Yi)
email: nicku@vtc.edu.hk
Tel: (852) 2436 8576, (852) 2436 8579 Fax: (852) 2436 8526
pgp ID: 7529555D fingerprint: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C
23 7B
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cannot mount old ext2 cdrom, but e2fsck shows no problems
2001-06-05 7:36 Cannot mount old ext2 cdrom, but e2fsck shows no problems Nick Urbanik
@ 2001-06-05 7:59 ` Svein Erik Brostigen
2001-06-05 8:37 ` Vincent Stemen
2001-06-06 21:42 ` Pavel Machek
2 siblings, 0 replies; 5+ messages in thread
From: Svein Erik Brostigen @ 2001-06-05 7:59 UTC (permalink / raw)
To: Nick Urbanik, Linux Kernel list
On Tuesday 05 June 2001 03:36, Nick Urbanik wrote:
"Snip"
> I will be very grateful for any help that increases my understanding of
> what is going on.
>
> $ sudo mount -t ext2 /dev/scd0 /cdrom -o ro
Try -t iso9660
> mount: wrong fs type, bad option, bad superblock on /dev/scd0,
> or too many mounted file systems
--
Regards
Svein Erik
Marriage is the only adventure open to the cowardly. - Voltaire
_____________________________________________________________
Svein Erik Brostigen e-mail: svein.brostigen@oracle.com
Senior Technical Analyst Phone: 407.458.7168
EBC - Extended Business Critical
Oracle Support Services
5955 T.G. Lee Blvd
Orlando FL, 32822
Enabling the Information Age Through Internet Computing
_____________________________________________________________
The statements and opinions expressed here are my own and
do not necessarily represent those of Oracle Corporation.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cannot mount old ext2 cdrom, but e2fsck shows no problems
2001-06-05 7:36 Cannot mount old ext2 cdrom, but e2fsck shows no problems Nick Urbanik
2001-06-05 7:59 ` Svein Erik Brostigen
@ 2001-06-05 8:37 ` Vincent Stemen
2001-06-06 7:52 ` Nick Urbanik
2001-06-06 21:42 ` Pavel Machek
2 siblings, 1 reply; 5+ messages in thread
From: Vincent Stemen @ 2001-06-05 8:37 UTC (permalink / raw)
To: Nick Urbanik, Linux Kernel list
On Tuesday 05 June 2001 02:36, Nick Urbanik wrote:
> Dear folks,
>
> I made 18 ext2 cdroms in October 1998 using an old (new at the time) Red
> Hat system. Now I can't mount them. e2fsck shows no problems. I also
> can dd them to a file, then mount the file. But I want to be able to
> simply access them directly. Current system: RH 7.1 with all updates.
>
> Sorry, I can't remember the exact command I used to create the images.
>
> I also want to better understand the output of dumpe2fs, and how to
> relate this to mount.
>
I think you are running into a block size issue. I notice your fs
block size is only 1024. See if you can mount it on an IDE CDROM
drive. I ran into the same problem with file systems with a block
size of 1024 when using the ide-scsi module because it saw the device
bs as being 4096. You cannot mount a file system with block size
smaller than the device. I would unload the the ide-scsi modules and
mount it as /dev/hdxx and it mounted just fine. I started specifying
the bs to be 4k when creating the file system to backup to CD and the
problem went away. The error message was deceiving. I did not
discover what it was until I left X windows and tried it from the
console and finally got an error relating to block size.
- Vincent Stemen
>
>
> $ dumpe2fs -h /dev/scd0
> dumpe2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
> Filesystem volume name: <none>
> Last mounted on: <not available>
> Filesystem UUID: 7eb1b040-59f7-11d2-9e35-002018530df2
> Filesystem magic number: 0xEF53
> Filesystem revision #: 0 (original)
> Filesystem features: (none)
> Filesystem state: clean
> Errors behavior: Continue
> Filesystem OS type: Linux
> Inode count: 166624
> Block count: 665600
> Reserved block count: 33280
> Free blocks: 142206
> Free inodes: 153910
> First block: 1
> Block size: 1024
> Fragment size: 1024
> Blocks per group: 8192
> Fragments per group: 8192
> Inodes per group: 2032
> Inode blocks per group: 254
> Last mount time: Fri Oct 2 21:06:45 1998
> Last write time: Fri Oct 2 23:53:28 1998
> Mount count: 3
> Maximum mount count: 20
> Last checked: Fri Oct 2 20:57:46 1998
> Check interval: 15552000 (6 months)
> Next check after: Wed Mar 31 20:57:46 1999
> Reserved blocks uid: 0 (user root)
> Reserved blocks gid: 0 (group root)
>
> (I originally sent this to the Red Hat list, but there was no response).
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cannot mount old ext2 cdrom, but e2fsck shows no problems
2001-06-05 8:37 ` Vincent Stemen
@ 2001-06-06 7:52 ` Nick Urbanik
0 siblings, 0 replies; 5+ messages in thread
From: Nick Urbanik @ 2001-06-06 7:52 UTC (permalink / raw)
To: Linux Kernel list
Vincent Stemen wrote:
> On Tuesday 05 June 2001 02:36, Nick Urbanik wrote:
> > Dear folks,
> >
> > I made 18 ext2 cdroms in October 1998 using an old (new at the time) Red
> > Hat system. Now I can't mount them. e2fsck shows no problems. I also
> > can dd them to a file, then mount the file. But I want to be able to
> > simply access them directly. Current system: RH 7.1 with all updates.
> >
> > Sorry, I can't remember the exact command I used to create the images.
> >
> > I also want to better understand the output of dumpe2fs, and how to
> > relate this to mount.
> >
>
> I think you are running into a block size issue. I notice your fs
> block size is only 1024. See if you can mount it on an IDE CDROM
> drive.
I have tried that before on one RH 7.1 machine and got quite a different
error message (but it still wouldn't mount).
> I ran into the same problem with file systems with a block
> size of 1024 when using the ide-scsi module because it saw the device
> bs as being 4096. You cannot mount a file system with block size
> smaller than the device.
I think you have hit the nail on the head. I am not sure how to change the
device block size of my CDROM.
Any suggestions VERY welcome!
I will experiment some more with other IDE CDROMs. But as things are, it
seems that the easiest way to read the data is to dd it to a file and mount
it. And I thought using ext2 would give me guarantees of being accessible
from Linux!!! I am backing up onto --multi-volume tar files on iso9660 file
systems now.
> I would unload the the ide-scsi modules and
> mount it as /dev/hdxx and it mounted just fine. I started specifying
> the bs to be 4k when creating the file system to backup to CD and the
> problem went away. The error message was deceiving. I did not
> discover what it was until I left X windows and tried it from the
> console and finally got an error relating to block size.
>
> - Vincent Stemen
Thank you very much for your helpful reply, Vincent.
> > $ dumpe2fs -h /dev/scd0
> > dumpe2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
> > Filesystem volume name: <none>
> > Last mounted on: <not available>
> > Filesystem UUID: 7eb1b040-59f7-11d2-9e35-002018530df2
> > Filesystem magic number: 0xEF53
> > Filesystem revision #: 0 (original)
> > Filesystem features: (none)
> > Filesystem state: clean
> > Errors behavior: Continue
> > Filesystem OS type: Linux
> > Inode count: 166624
> > Block count: 665600
> > Reserved block count: 33280
> > Free blocks: 142206
> > Free inodes: 153910
> > First block: 1
> > Block size: 1024
> > Fragment size: 1024
> > Blocks per group: 8192
> > Fragments per group: 8192
> > Inodes per group: 2032
> > Inode blocks per group: 254
> > Last mount time: Fri Oct 2 21:06:45 1998
> > Last write time: Fri Oct 2 23:53:28 1998
> > Mount count: 3
> > Maximum mount count: 20
> > Last checked: Fri Oct 2 20:57:46 1998
> > Check interval: 15552000 (6 months)
> > Next check after: Wed Mar 31 20:57:46 1999
> > Reserved blocks uid: 0 (user root)
> > Reserved blocks gid: 0 (group root)
> >
> > (I originally sent this to the Red Hat list, but there was no response).
--
Nick Urbanik, Dept. of Information & Communications Technology
Hong Kong Institute of Vocational Education (Tsing Yi)
email: nicku@vtc.edu.hk
Tel: (852) 2436 8576, (852) 2436 8579 Fax: (852) 2436 8526
pgp ID: 7529555D fingerprint: 53 B6 6D 73 52 EE 1F EE EC F8 21 98 45 1C 23 7B
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cannot mount old ext2 cdrom, but e2fsck shows no problems
2001-06-05 7:36 Cannot mount old ext2 cdrom, but e2fsck shows no problems Nick Urbanik
2001-06-05 7:59 ` Svein Erik Brostigen
2001-06-05 8:37 ` Vincent Stemen
@ 2001-06-06 21:42 ` Pavel Machek
2 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2001-06-06 21:42 UTC (permalink / raw)
To: Nick Urbanik; +Cc: Linux Kernel list
HIi!
> I made 18 ext2 cdroms in October 1998 using an old (new at the time) Red
> Hat system. Now I can't mount them. e2fsck shows no problems. I also
> can dd them to a file, then mount the file. But I want to be able to
> simply access them directly. Current system: RH 7.1 with all updates.
>
> Sorry, I can't remember the exact command I used to create the images.
>
> I also want to better understand the output of dumpe2fs, and how to
> relate this to mount.
>
> I will be very grateful for any help that increases my understanding of
> what is going on.
>
> $ sudo mount -t ext2 /dev/scd0 /cdrom -o ro
> mount: wrong fs type, bad option, bad superblock on /dev/scd0,
> or too many mounted file systems
Try -o loop.
Pavel
--
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-06-08 15:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-05 7:36 Cannot mount old ext2 cdrom, but e2fsck shows no problems Nick Urbanik
2001-06-05 7:59 ` Svein Erik Brostigen
2001-06-05 8:37 ` Vincent Stemen
2001-06-06 7:52 ` Nick Urbanik
2001-06-06 21:42 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox