Ruggieri, Timothy writes
I was out sick most of last week and missed the excitement.
Oh, you poor thing.
I can go take a look at Nebka today (Monday). I don't know what I can do beyond fscking and rebooting again though.
disk /dev/sda 80G needs to be replaced by the 140G disk. 1. Boot into single user mode. 2. Mount root disk read-only mount -o ro,remount /dev/sda1 3. Check disk with badblock check e2fsck -c -y /dev/sda1 4. reboot into single use 5. make sure sdb1 is mounted as /vol 6. rsync to /vol rsync -va --exclude /vol --exclude /proc --exclude /sys / /vol 7. install grub grub-install --root-directory /vol/boot/grub /dev/sdb1 8. shutdown machine, exchange disk sda and sdb. 9. fiddle with bios so that it boots from what was sdb, now sda. Good luck! Cheers, Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
Tim
--
Timothy Ruggieri Computer Support Consultant CLAS Dean's Office University of Connecticut timothy.ruggieri@uconn.edu (860) 486-0713
-----Original Message----- From: ras-run-bounces@lists.openlib.org [mailto:ras-run-bounces@lists.openlib.org] On Behalf Of Thomas Krichel Sent: Monday, March 24, 2008 4:02 AM To: Zimmermann, Christian Cc: RAS-RUN Subject: Re: [RAS] nebka down
Christian Zimmermann writes
And once more a Saturday at 7:37.
I guess it is a setback for badblock theorists.
I am *not* going to campus this week-end. I could not work on the machine yesterday, as it continually had a load above 1.
My commiserations!
Cheers,
Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
_______________________________________________ RAS-run mailing list RAS-run@lists.openlib.org http://lists.openlib.org/cgi-bin/mailman/listinfo/ras-run
-- Cheers, Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
I am on it right now. Christian Zimmermann FIGUGEGL! Department of Economics University of Connecticut 341 Mansfield Road, Unit 1063 Storrs, CT 06269-1063 http://ideas.repec.org/zimm/ christian.zimmermann@uconn.edu http://ideas.repec.org/e/pzi1.html On Mon, 24 Mar 2008, Thomas Krichel wrote:
Ruggieri, Timothy writes
I was out sick most of last week and missed the excitement.
Oh, you poor thing.
I can go take a look at Nebka today (Monday). I don't know what I can do beyond fscking and rebooting again though.
disk /dev/sda 80G needs to be replaced by the 140G disk.
1. Boot into single user mode. 2. Mount root disk read-only
mount -o ro,remount /dev/sda1
3. Check disk with badblock check
e2fsck -c -y /dev/sda1
4. reboot into single use 5. make sure sdb1 is mounted as /vol 6. rsync to /vol
rsync -va --exclude /vol --exclude /proc --exclude /sys / /vol
7. install grub
grub-install --root-directory /vol/boot/grub /dev/sdb1
8. shutdown machine, exchange disk sda and sdb.
9. fiddle with bios so that it boots from what was sdb, now sda.
Good luck!
Cheers,
Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
Tim
--
Timothy Ruggieri Computer Support Consultant CLAS Dean's Office University of Connecticut timothy.ruggieri@uconn.edu (860) 486-0713
-----Original Message----- From: ras-run-bounces@lists.openlib.org [mailto:ras-run-bounces@lists.openlib.org] On Behalf Of Thomas Krichel Sent: Monday, March 24, 2008 4:02 AM To: Zimmermann, Christian Cc: RAS-RUN Subject: Re: [RAS] nebka down
Christian Zimmermann writes
And once more a Saturday at 7:37.
I guess it is a setback for badblock theorists.
I am *not* going to campus this week-end. I could not work on the machine yesterday, as it continually had a load above 1.
My commiserations!
Cheers,
Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
_______________________________________________ RAS-run mailing list RAS-run@lists.openlib.org http://lists.openlib.org/cgi-bin/mailman/listinfo/ras-run
I got the BIOS and RAID facility to recognize the drive swap. Good. But it does not start grub. Bad. Note that I switched / and /vol in fstab. But that is read after grub, right? doing the rsync to fill the new disk, I noticed that adrepec is housing a lot of pdf files. That seems a waste, especially as this account is replicated on all machines. Christian Zimmermann FIGUGEGL! Department of Economics University of Connecticut 341 Mansfield Road, Unit 1063 Storrs, CT 06269-1063 http://ideas.repec.org/zimm/ christian.zimmermann@uconn.edu http://ideas.repec.org/e/pzi1.html On Mon, 24 Mar 2008, Christian Zimmermann wrote:
I am on it right now.
Christian Zimmermann FIGUGEGL! Department of Economics University of Connecticut 341 Mansfield Road, Unit 1063 Storrs, CT 06269-1063 http://ideas.repec.org/zimm/ christian.zimmermann@uconn.edu http://ideas.repec.org/e/pzi1.html
On Mon, 24 Mar 2008, Thomas Krichel wrote:
Ruggieri, Timothy writes
I was out sick most of last week and missed the excitement.
Oh, you poor thing.
I can go take a look at Nebka today (Monday). I don't know what I can do beyond fscking and rebooting again though.
disk /dev/sda 80G needs to be replaced by the 140G disk.
1. Boot into single user mode. 2. Mount root disk read-only
mount -o ro,remount /dev/sda1
3. Check disk with badblock check
e2fsck -c -y /dev/sda1
4. reboot into single use 5. make sure sdb1 is mounted as /vol 6. rsync to /vol
rsync -va --exclude /vol --exclude /proc --exclude /sys / /vol
7. install grub
grub-install --root-directory /vol/boot/grub /dev/sdb1
8. shutdown machine, exchange disk sda and sdb.
9. fiddle with bios so that it boots from what was sdb, now sda.
Good luck!
Cheers,
Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
Tim
--
Timothy Ruggieri Computer Support Consultant CLAS Dean's Office University of Connecticut timothy.ruggieri@uconn.edu (860) 486-0713
-----Original Message----- From: ras-run-bounces@lists.openlib.org [mailto:ras-run-bounces@lists.openlib.org] On Behalf Of Thomas Krichel Sent: Monday, March 24, 2008 4:02 AM To: Zimmermann, Christian Cc: RAS-RUN Subject: Re: [RAS] nebka down
Christian Zimmermann writes
And once more a Saturday at 7:37.
I guess it is a setback for badblock theorists.
I am *not* going to campus this week-end. I could not work on the machine yesterday, as it continually had a load above 1.
My commiserations!
Cheers,
Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
_______________________________________________ RAS-run mailing list RAS-run@lists.openlib.org http://lists.openlib.org/cgi-bin/mailman/listinfo/ras-run
_______________________________________________ RAS-run mailing list RAS-run@lists.openlib.org http://lists.openlib.org/cgi-bin/mailman/listinfo/ras-run
Christian Zimmermann writes
I got the BIOS and RAID facility to recognize the drive swap. Good.
But it does not start grub. Bad.
Fatal. There is the off-chance I did not mark the drive as bootable in the partition table.
Note that I switched / and /vol in fstab. But that is read after grub, right?
I don't think you should have switched. But you are correct this should not matter until grub is loaded. You did switch the drives? Try again with the bios, it if it sees the 140 G as the first drive. If it does, it is probably not bootable. Switch back, boot, look at the partition table cfdisk /dev/sdb there sholud be a "boot" flag on the large sdb1 partion. Cheers, Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
The drive is marked as bootable (cfdisk). Christian Zimmermann FIGUGEGL! Department of Economics University of Connecticut 341 Mansfield Road, Unit 1063 Storrs, CT 06269-1063 http://ideas.repec.org/zimm/ christian.zimmermann@uconn.edu http://ideas.repec.org/e/pzi1.html On Mon, 24 Mar 2008, Thomas Krichel wrote:
Christian Zimmermann writes
I got the BIOS and RAID facility to recognize the drive swap. Good.
But it does not start grub. Bad.
Fatal. There is the off-chance I did not mark the drive as bootable in the partition table.
Note that I switched / and /vol in fstab. But that is read after grub, right?
I don't think you should have switched. But you are correct this should not matter until grub is loaded. You did switch the drives?
Try again with the bios, it if it sees the 140 G as the first drive. If it does, it is probably not bootable.
Switch back, boot, look at the partition table
cfdisk /dev/sdb
there sholud be a "boot" flag on the large sdb1 partion.
Cheers,
Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
Christian Zimmermann writes
The drive is marked as bootable (cfdisk).
And you ran grub-install? This was what I did here to get wombat to boot from its harddrive, rather than from trabbi's. If you exchange the disks, you fire up the bios a few times, you get no grub screen, then I don't know what do do except try to install a fresh debian on sdb, but hell, there is the usb 1.0 and no floppy drive I guess? Damn! Cheers, Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
There is floppy and DVD drive. I ran /usr/sbin/grub-install --root-directory=/vol /dev/sdb1 got the following response: /dev/sdb1 does not have any corresponding BIOS drive presumably because I have not yet switched the drives in BIOS. I just tried to boot on sda1 with root on sdb1. It refuses, saying the automatic fsck did not work, put root in read-only, wants a manual fsck. sdb1 does not appear in df. /etc/fstab issue? That file is as usual (/dev/sda1 /, /dev/sdb1 /vol). Christian Zimmermann FIGUGEGL! Department of Economics University of Connecticut 341 Mansfield Road, Unit 1063 Storrs, CT 06269-1063 http://ideas.repec.org/zimm/ christian.zimmermann@uconn.edu http://ideas.repec.org/e/pzi1.html On Mon, 24 Mar 2008, Thomas Krichel wrote:
Christian Zimmermann writes
The drive is marked as bootable (cfdisk).
And you ran grub-install? This was what I did here to get wombat to boot from its harddrive, rather than from trabbi's. If you exchange the disks, you fire up the bios a few times, you get no grub screen, then I don't know what do do except try to install a fresh debian on sdb, but hell, there is the usb 1.0 and no floppy drive I guess?
Damn!
Cheers,
Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
As instructed, I do e2fsck -c -y /dev/sda1, and it says: superblock last write time is in the future, fix it? yes How did that happen? Christian Zimmermann FIGUGEGL! Department of Economics University of Connecticut 341 Mansfield Road, Unit 1063 Storrs, CT 06269-1063 http://ideas.repec.org/zimm/ christian.zimmermann@uconn.edu http://ideas.repec.org/e/pzi1.html On Mon, 24 Mar 2008, Christian Zimmermann wrote:
There is floppy and DVD drive.
I ran /usr/sbin/grub-install --root-directory=/vol /dev/sdb1
got the following response: /dev/sdb1 does not have any corresponding BIOS drive presumably because I have not yet switched the drives in BIOS.
I just tried to boot on sda1 with root on sdb1. It refuses, saying the automatic fsck did not work, put root in read-only, wants a manual fsck. sdb1 does not appear in df. /etc/fstab issue? That file is as usual (/dev/sda1 /, /dev/sdb1 /vol).
Christian Zimmermann FIGUGEGL! Department of Economics University of Connecticut 341 Mansfield Road, Unit 1063 Storrs, CT 06269-1063 http://ideas.repec.org/zimm/ christian.zimmermann@uconn.edu http://ideas.repec.org/e/pzi1.html
On Mon, 24 Mar 2008, Thomas Krichel wrote:
Christian Zimmermann writes
The drive is marked as bootable (cfdisk).
And you ran grub-install? This was what I did here to get wombat to boot from its harddrive, rather than from trabbi's. If you exchange the disks, you fire up the bios a few times, you get no grub screen, then I don't know what do do except try to install a fresh debian on sdb, but hell, there is the usb 1.0 and no floppy drive I guess?
Damn!
Cheers,
Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
_______________________________________________ RAS-run mailing list RAS-run@lists.openlib.org http://lists.openlib.org/cgi-bin/mailman/listinfo/ras-run
Christian Zimmermann writes
As instructed, I do e2fsck -c -y /dev/sda1, and it says:
superblock last write time is in the future, fix it? yes
How did that happen?
No idea. but you did to the e2fsck, you did do the rsync, and you are now at the disk exchange stage? Cheers, Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
On Mon, 24 Mar 2008, Thomas Krichel wrote:
Christian Zimmermann writes
As instructed, I do e2fsck -c -y /dev/sda1, and it says:
superblock last write time is in the future, fix it? yes
How did that happen?
No idea.
but you did to the e2fsck, you did do the rsync, and you are now at the disk exchange stage?
Yep.
Cheers,
Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
Christian Zimmermann writes
but you did to the e2fsck, you did do the rsync, and you are now at the disk exchange stage?
Yep.
Then the grub -recheck should fix it. Cheers, Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
Christian Zimmermann writes
There is floppy and DVD drive.
I ran /usr/sbin/grub-install --root-directory=/vol /dev/sdb1
got the following response: /dev/sdb1 does not have any corresponding BIOS drive presumably because I have not yet switched the drives in BIOS.
Then you have to run grub-install -recheck --root-directory=/vol /dev/sdb1 without a successful grub install it will not run. Try again with the grup install.
I just tried to boot on sda1 with root on sdb1. It refuses, saying the automatic fsck did not work, put root in read-only, wants a manual fsck. sdb1 does not appear in df. /etc/fstab issue? That file is as usual (/dev/sda1 /, /dev/sdb1 /vol).
Most likely. Change taht fgile so that /dev/sdb is supposed to run the root. But try another grub-install first. Cheers, Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
The grub-install --recheck gives this: end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 Installation finished. No erro reported. This is the contents of the device map /vol/boot/grub/device.map (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb Is this what it is supposed to be? Christian Zimmermann FIGUGEGL! Department of Economics University of Connecticut 341 Mansfield Road, Unit 1063 Storrs, CT 06269-1063 http://ideas.repec.org/zimm/ christian.zimmermann@uconn.edu http://ideas.repec.org/e/pzi1.html On Mon, 24 Mar 2008, Thomas Krichel wrote:
Christian Zimmermann writes
There is floppy and DVD drive.
I ran /usr/sbin/grub-install --root-directory=/vol /dev/sdb1
got the following response: /dev/sdb1 does not have any corresponding BIOS drive presumably because I have not yet switched the drives in BIOS.
Then you have to run
grub-install -recheck --root-directory=/vol /dev/sdb1
without a successful grub install it will not run.
Try again with the grup install.
I just tried to boot on sda1 with root on sdb1. It refuses, saying the automatic fsck did not work, put root in read-only, wants a manual fsck. sdb1 does not appear in df. /etc/fstab issue? That file is as usual (/dev/sda1 /, /dev/sdb1 /vol).
Most likely. Change taht fgile so that /dev/sdb is supposed to run the root.
But try another grub-install first.
Cheers,
Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
Christian Zimmermann writes
The grub-install --recheck gives this:
end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 Installation finished. No erro reported. This is the contents of the device map /vol/boot/grub/device.map (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb
-rechek -root-directory=/vol/boot/ /dev/sdb I think
Is this what it is supposed to be?
yeah, it just reports it can't read the floppy drive. Cheers, Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
OK, tried again a few reboots. I get it now to work somewhat by not physically moving the drives but playing only with the RAID controller, and in boot/grub/menu.lst leaving root at sda1. Now it boots from the big drive, but hangs on a missing /proc. df shows: /dev/sda1 / tmpfs /lib/init/rw udev /dev and that's it. How do I fix that? do I need to rsync /proc from the old disk as well? And /sys? Christian Zimmermann FIGUGEGL! Department of Economics University of Connecticut 341 Mansfield Road, Unit 1063 Storrs, CT 06269-1063 http://ideas.repec.org/zimm/ christian.zimmermann@uconn.edu http://ideas.repec.org/e/pzi1.html On Mon, 24 Mar 2008, Thomas Krichel wrote:
Christian Zimmermann writes
The grub-install --recheck gives this:
end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 Installation finished. No erro reported. This is the contents of the device map /vol/boot/grub/device.map (fd0) /dev/fd0 (hd0) /dev/sda (hd1) /dev/sdb
-rechek -root-directory=/vol/boot/ /dev/sdb
I think
Is this what it is supposed to be?
yeah, it just reports it can't read the floppy drive.
Cheers,
Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
Christian Zimmermann writes
OK, tried again a few reboots. I get it now to work somewhat by not physically moving the drives but playing only with the RAID controller, and in boot/grub/menu.lst leaving root at sda1.
Now it boots from the big drive, but hangs on a missing /proc.
df shows: /dev/sda1 / tmpfs /lib/init/rw udev /dev
and that's it.
How do I fix that? do I need to rsync /proc from the old disk as well? And /sys?
mkdir /proc mkdir /sys where / goes to sdb1 Cheers, Thomas Krichel http://openlib.org/home/krichel RePEc:per:1965-06-05:thomas_krichel phone: +7 383 330 6813 skype: thomaskrichel
participants (2)
-
Christian Zimmermann -
Thomas Krichel