Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Mar 24, 2012 10:49 pm 
Offline
Newbie

Joined: Sat Mar 24, 2012 10:27 pm
Posts: 2
Hi,

I'm trying to configure my server.

What I did:
1. Splitted my disk to several disks (/dev/xvda, /dev/xvdb, /dev/xvdc etc.);
2. Installed Debian on /dev/xvda (/dev/xvdb is used as Swap);
3. Deboostrapped another distro on /dev/xvdc;
4. Installed a custom kernel;
5. Modified /boot/grub/; [1, 2]
6. Modified /etc/fstab;
7. Edited my configuration profile:
Kernel: pv-grub-x86-64;
/dev/xvda debootstrapped distro;
root device * Standard: /dev/xvda;
8. Rebooted the server.

Everything looks right, but when I try to connect via Lish I see this error:

end_request: I/O error, dev xvda, sector ...
end_request: I/O error, dev xvda, sector ...
Buffer I/O error on device xvda, logical block ...
Aborting journal on device xvda
EXT3-fs (xvda): error: ext3_journal_start_sb: Detected aborted journal
EXT3-fs (xvda): error: remounting filesystem read-only

(If I change everything back, I'll be able to boot via Debian.)

I've also tried to use barriers=0 in /etc/fstab [3], but it didn't work out.

Debootstrapped distro: gNewSense Parkes
Kernel: Linux-libre 3.3.0

/etc/fstab:
/dev/xvda / ext3 noatime,errors=remount-ro 1 2
/dev/xvdc none swap sw 0 0

/boot/grub/menu.lst:
default 0
timeout 5
title Foo
root (hd0)
kernel /boot/vmlinuz-3.3.0 root=/dev/xvda ro quiet

Tell me if you need any additional info.

[1] http://library.linode.com/linode-platfo ... led-kernel
[2] http://www.linode.com/wiki/index.php/PV-GRUB
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637234


Top
   
 Post subject:
PostPosted: Sat Mar 24, 2012 10:57 pm 
Offline
Senior Member

Joined: Wed Jun 08, 2011 11:25 pm
Posts: 51
I have nobarrier in /etc/fstab for each ext3/ext4 entry, as well as rootflags=nobarrier in /boot/grub/menu.lst as one of the kernel params. Try that second thing as well.


Top
   
 Post subject:
PostPosted: Fri Mar 30, 2012 9:34 pm 
Offline
Newbie

Joined: Sat Mar 24, 2012 10:27 pm
Posts: 2
retrograde inversion wrote:
I have nobarrier in /etc/fstab for each ext3/ext4 entry, as well as rootflags=nobarrier in /boot/grub/menu.lst as one of the kernel params. Try that second thing as well.


Thanks! It helped.

There is another issue:
Now I can connect via SSH (which was configured by me), but I can't login via Lish.
Is it OK? I thought that Lish sits on top of VM so it can get access to any machine.
Should I set it up to have an ability to connect via Lish? Or it's just another way to restrict unauthorized access from the Manager?

BTW, I've read that it could be bad to have nobarrier option enabled because it may cause a loss of data. Is it right?


Top
   
 Post subject:
PostPosted: Sat Mar 31, 2012 3:01 am 
Offline
Senior Member

Joined: Wed Jun 08, 2011 11:25 pm
Posts: 51
peterthegreat wrote:
Now I can connect via SSH (which was configured by me), but I can't login via Lish.
Is it OK? I thought that Lish sits on top of VM so it can get access to any machine.
Should I set it up to have an ability to connect via Lish? Or it's just another way to restrict unauthorized access from the Manager?


Lish should definitely work. A couple thoughts on this:

1. Check https://library.linode.com/linode-platf ... figuration and make sure those options are enabled in your kernel.
2. Check /etc/inittab - for the section where it defines your terminals, the first line should have 'hvc0' instead of 'tty1'. (Comment out any lines for tty2 through tty6, you don't need them.) After doing this I found I had to disable Xenify Distro in the Linode Configuration Profile as well.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group