You are not logged in.

#1 2007-02-06 19:44:31

test1000
Member
Registered: 2005-04-03
Posts: 834

Can't see my sata disk suddenly.

I used to have it mounted on /home over my xfs disk(which also had a /home, but that shouldn't matter right!?). The sata disk was/is a ext3 disk. And i'm sorry but this is all i can tell:
1. i got a ext3 error spitted out on console.
2. i think, a sudo fuser -km /dev/sdb
3. sudo umount /dev/sdb

Then i reebooted and suddenly /dev/sdb doesn't exist in /dev...

edit: found a log for my ext3 errors: http://pastebin.archlinux.org/1236

Id the disk is the culprit, which tests should i run on it to see what's wrong with it. I suppose i could run some tests with some programs even though i can't even see it in /dev.

I'm running -fallback standard arch kernel, since that's the only one i got working. (For history and perhaps more clues pertaining to this problem see http://bbs.archlinux.org/viewtopic.php?id=29132)


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#2 2007-02-07 17:40:42

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Can't see my sata disk suddenly.

which modules are needed for detecting a SATA disk?


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#3 2007-02-07 18:23:45

zeus
Member
From: Korolev / Russia
Registered: 2006-09-19
Posts: 117
Website

Re: Can't see my sata disk suddenly.

put sata in HOOKS in /etc/mkinitcpio.conf
then mkinitcpio -p kernel26
see more information:
http://wiki.archlinux.org/index.php/Mkinitcpio

Offline

#4 2007-02-08 17:41:09

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Can't see my sata disk suddenly.

i've already done that zeus but thanks for the info anyway.

Is there any particular reason pata is not described in above wiki article? I see 'pata' being built with the fallback image.
What /IS/ 'pata'?

Last edited by test1000 (2007-02-08 17:41:23)


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#5 2007-02-08 18:06:07

zeus
Member
From: Korolev / Russia
Registered: 2006-09-19
Posts: 117
Website

Re: Can't see my sata disk suddenly.

http://archlinux.org/news/272/
What hardware you use?

Last edited by zeus (2007-02-08 18:07:51)

Offline

#6 2007-02-10 12:33:32

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Can't see my sata disk suddenly.

ok, so i added pata to http://wiki.archlinux.org/index.php/Con … able_hooks. No idea if the entry is any good as i just based it on the newspost. I will now try to reeboot with ata_piix at first in MODULES and base udev sata autodetect pata scsi filesystems in HOOKS(in mkinitcpio.conf) after having generated the new image.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#7 2007-02-10 13:13:07

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Can't see my sata disk suddenly.

ok, so i don't know if it was because of ata_piix as first entry in MODULES or the substitution of ide with pata in HOOKS or both, but now I am able to boot with both standard and -ck kernel by using the standard cpio image(not -fallback).

and i see:
14:05:11 ~ $ sudo tune2fs -L nydisk /dev/sdb
tune2fs 1.39 (29-May-2006)
tune2fs: Attempt to read block from filesystem resulted in short read while trying to open /dev/sdb
Couldn't find valid filesystem superblock.

That's the SATA disk. What do i do from here?

14:19:41 ~ $ ls -l /dev/sdb
brw-rw---- 1 root disk 8, 16 2007-02-10 14:53 /dev/sdb

14:19:26 ~ $ sudo fsck.ext3 /dev/sdb
e2fsck 1.39 (29-May-2006)
fsck.ext3: Attempt to read block from filesystem resulted in short read while trying to open /dev/sdb
Could this be a zero-length partition?

14:21:47 ~ $ sudo cfdisk /dev/sdb
FATAL ERROR: Cannot read disk drive
                                                        Press any key to exit cfdisk

Last edited by test1000 (2007-02-10 13:22:59)


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#8 2007-02-10 13:30:01

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Can't see my sata disk suddenly.

root|/home/kris$ mkfs.ext3 -L nydisk /dev/sdb
mke2fs 1.39 (29-May-2006)
/dev/sdb is entire device, not just one partition!
Proceed anyway? (y,n) y
Warning: could not erase sector 2: Attempt to write block from filesystem resulted in short write
Filesystem label=nydisk
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
9076736 inodes, 18153264 blocks
907663 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=20971520
554 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624, 11239424

Warning: could not read block 0: Attempt to read block from filesystem resulted in short read
Warning: could not erase sector 0: Attempt to write block from filesystem resulted in short write
Writing inode tables: done                           
ext2fs_mkdir: Attempt to read block from filesystem resulted in short read while creating root dir

and

14:26:08 ~ $ sudo mount -t ext3 /dev/sdb /mnt/sdb/
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

14:28:19 ~ $ dmesg|tail
Buffer I/O error on device sdb, logical block 0
Buffer I/O error on device sdb, logical block 1
Buffer I/O error on device sdb, logical block 2
Buffer I/O error on device sdb, logical block 3
sd 3:0:0:0: SCSI error: return code = 0x00040000
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
sd 3:0:0:0: SCSI error: return code = 0x00040000
end_request: I/O error, dev sdb, sector 2
EXT3-fs: unable to read superblock

and

14:29:49 ~ $ dmesg|tail -20
end_request: I/O error, dev sdb, sector 144965648
sd 3:0:0:0: SCSI error: return code = 0x00040000
end_request: I/O error, dev sdb, sector 144966672
sd 3:0:0:0: SCSI error: return code = 0x00040000
end_request: I/O error, dev sdb, sector 144967696
sd 3:0:0:0: SCSI error: return code = 0x00040000
end_request: I/O error, dev sdb, sector 144968720
sd 3:0:0:0: SCSI error: return code = 0x00040000
end_request: I/O error, dev sdb, sector 0
printk: 283660 messages suppressed.
Buffer I/O error on device sdb, logical block 0
Buffer I/O error on device sdb, logical block 1
Buffer I/O error on device sdb, logical block 2
Buffer I/O error on device sdb, logical block 3
sd 3:0:0:0: SCSI error: return code = 0x00040000
end_request: I/O error, dev sdb, sector 0
Buffer I/O error on device sdb, logical block 0
sd 3:0:0:0: SCSI error: return code = 0x00040000
end_request: I/O error, dev sdb, sector 2
EXT3-fs: unable to read superblock


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#9 2007-02-13 17:12:10

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Can't see my sata disk suddenly.

Then i reeboted and tried good 'ol fdisk which turned out to work unlike cfdisk, so don't remove it if there ever was talk of this?
then i made a logical partition and installed xfs on the new partition aswell and moved my whole home/* over and mounted it as /home.

Maybe i'll copy everything over. We'll see when i have the time for a potential f*up


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

Board footer

Powered by FluxBB