xfs
[Top] [All Lists]

not a valid block device

To: <linux-xfs@xxxxxxxxxxx>
Subject: not a valid block device
From: <arnold@xxxxxxxxxxx>
Date: Tue, 27 Feb 2001 21:15:09 -0000
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi,

I am in a bind, and I feel like I am really close to a solution, but I can't
wrap my brain around it.  Anyways, here is my situation.  I removed two
disks off of an Indigo2.  They were formatted with the SGI XFS filesystem.
I have a RedHat 6.2 system that I needed to put the disks onto.  I followed
all of the instructions at http://linux-xfs.sgi.com/projects/xfs/pr_rpm.html,
and everything went smoothly.  I rebooted with the XFS kernel, and I don't
receive any error messages.  I load the kernel module for my SCSI adapter,
and everything works fine.  I used fdisk to get a look at the partition map
for the drives, and they look like this:

Script started on Tue Feb 27 15:03:29 2001
[root@afni arnold]# /sbin/fdisk /dev/sda

Command (m for help): p

Disk /dev/sda (SGI disk label): 10 heads, 320 sectors, 11201 cylinders
Units = cylinders of 3200 * 512 bytes

----- partitions -----
   Device  Info      Start       End   Sectors  Id  System
/dev/sda8               2     11201  35839574   a  SGI xfs
/dev/sda9               0         1      4096   0  SGI volhdr
/dev/sda11              0     11201  35843670   6  SGI volume
----- bootinfo -----
Bootfile: /unix
----- directory entries -----

Command (m for help): q


Script started on Tue Feb 27 15:04:23 2001
[root@afni arnold]# /sbin/fdisk /dev/sdb

Command (m for help): p

Disk /dev/sdb (SGI disk label): 10 heads, 218 sectors, 8188 cylinders
Units = cylinders of 2180 * 512 bytes

----- partitions -----
   Device  Info      Start       End   Sectors  Id  System
/dev/sdb8               2      8188  17845904   a  SGI xfs
/dev/sdb9               0         1      4096   0  SGI volhdr
/dev/sdb11              0      8188  17850000   6  SGI volume
----- bootinfo -----
Bootfile: /unix
----- directory entries -----

Command (m for help): q

So, I can see the disks.  However, when I try to mount them, my system returns
the error:

[root@afni arnold]# /bin/mount -t xfs /dev/sda8 /mnt/disk2
mount: /dev/sda8 is not a valid block device

an lsmod shows:

[root@afni arnold]# /sbin/lsmod
Module                  Size  Used by
vfat                   13397   0  (autoclean)
fat                    39567   0  (autoclean) [vfat]
xfs                   429502   0  (autoclean) (unused)
pagebuf                42047   0  (autoclean) [xfs]
aic7xxx               140890   0 
3c59x                  24785   1  (autoclean)
es1371                 27339   0 
soundcore               6614   5  [es1371]
ac97_codec              8448   0  [es1371]

For documentation purposes, here is my kernel version:
[root@afni arnold]# uname -a
Linux afni 2.4.0-XFS_BETA_4 #1 Tue Nov 28 08:08:58 CST 2000 i686 unknown

I'd appreciate any thoughts anyone might have.

<Prev in Thread] Current Thread [Next in Thread>