LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-19-2006, 04:26 PM   #1
okhin
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
Problems with reiserfs, 2.6.15 & 2.4.18 kernel and /var directory


Hello everybody.

Due to a mistake of mine, i've reinstalled all my system last night, and upgraded to unstable with the last kernel for my architecture downloaded with apt (package linux-image-2.6.15-1-k7).

But I've got a....strange problem. I've put /var on a separate partition (my /etc/fstab is coming) on /dev/hdb3, but, this /var is a little strange.

While booting with the installation kernel (2.4.18, no initrd), it correctly mounts under /var, and it's populate with the lib/, log/, data/, of a normal system (and i'm posting with this kernel).

But when i'm trying the 2.6.15 kernel, the /var partition mounts correctly, but it's empty. The partition is mounted (and I manually mount/umount it, to be sure), but whatever i can do on it, when i'm go back to 2.4.18, the /var partition is in the same state than the last boot under 2.4.18.

Here's my /etc/fstab entry for this partition:
/dev/hdb3 /var reiserfs defaults 0 2

Thanks for your help, I'm getting crazy
 
Old 02-20-2006, 09:08 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
is the size of the file system the same on both kernels?

what did you include in your initrc?
 
Old 02-20-2006, 09:19 AM   #3
okhin
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Original Poster
Rep: Reputation: 0
So... I'm trying to have it working, on another way et i displace my /var on the root partition.

But, the problem is the same. But, not only located in /var. /etc/mtab can't be write, a lot of file can't be open... but they are all owned by root, I give them world access, but the problem is the same...

The "funniest" thing, is that, as root, I can't remove some files, not opened by a proc (lsof is my friend).

The initrd is the one provided with the debian image binary. I'm currently comiling a new kernel, with the same config, just to see if it's could come from here....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Umm... yeah, I deleted my /var directory. 8-bitDesigner Linux - Software 6 02-21-2006 08:36 PM
can't delete directory - reiserfs slackhack Linux - General 3 12-29-2005 10:24 AM
2.6.3 kernel upgrade reiserfs boot problems "no init found" riskable Mandriva 3 05-28-2004 04:11 PM
mkfs.reiserfs: No such file or directory murray_linux Slackware 2 05-15-2004 03:32 PM
Kernel 2.6, RAID-1 & reiserfs kernel panic Raptor Ramjet Slackware 2 01-04-2004 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration