LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk
User Name
Password
Zenwalk This forum is for the discussion of Zenwalk Linux.

Notices


Reply
  Search this Thread
Old 09-21-2007, 08:21 PM   #1
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283
Blog Entries: 11

Rep: Reputation: 41
Question df does not show my home partition


When I type in df -h, I get the free space in all my partitions, except for /home (it does not show on the list). No error messages.

My fstab looks fine.

This is the first time I see myself unable to run a quick check of my home space. The "devices" tool on the panel, which has the same purpose, is also blind to my ;home partition.

All the partitions were formatted as ext3, while my home partition is jfs. Is that maybe the reason why I can't get to see the free space on my partition?

How can I check my free space in this case?
 
Old 09-21-2007, 09:03 PM   #2
ArcLinux
Member
 
Registered: Apr 2005
Location: Fargo, ND
Distribution: Slackware, CentOS
Posts: 87

Rep: Reputation: 20
what does you fstab look like?
 
Old 09-22-2007, 12:55 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893Reputation: 5893
I've only briefly played with Zenwalk but I do not believe it supports jfs. AFAIK ext2/3, xfs and reiserfs are supported. Was this an existing parititon or was it created when you installed Zenwalk?

In addition to posting your fstab include how your drive(s) are partitioned via the fdisk command.
fdisk -l (that is a small L)
 
Old 09-22-2007, 08:38 PM   #4
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283

Original Poster
Blog Entries: 11

Rep: Reputation: 41
Thanks for the answers.
My fstab:
Quote:
/dev/sda5 swap swap defaults 0 0
/dev/sda6 / ext3 defaults,noatime 1 1
/dev/sda10 /home jfs defaults,noatime 1 2
/dev/sda7 /extra ext3 defaults,noatime 1 2
/dev/sda8 /usr ext3 defaults,noatime 1 2
/dev/sda9 /boot ext3 defaults,noatime 1 2
/dev/sda1 /windows ntfs-3g defaults,noatime 1 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/sr0 /mnt/dvd iso9660 noauto,user,ro 0 0
I created the partitions with GParted before installing Zenwalk. After the installation, the mount type for my /home partition was empty, and I added jfs for home and replaced ntfs with ntfs-3g for /windows. Either way, df keeps neglecting /home.
How can I know if I have to compile the kernel with jfs support?
 
Old 09-23-2007, 05:06 AM   #5
guth
Member
 
Registered: Aug 2006
Location: France
Distribution: Zenwalk
Posts: 132

Rep: Reputation: 15
Quote:
$ grep -i jfs /proc/filesystems
$
$ grep -i jfs /boot/config
# CONFIG_JFS_FS is not set
$
Either recompile kernel with jfs support or use xfs/ext3/...
 
Old 09-23-2007, 11:09 AM   #6
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283

Original Poster
Blog Entries: 11

Rep: Reputation: 41
Unhappy

Now I see my mistake. Since Slack supports jfs, I assumed that the current Zenwalk does it too. I should have been more careful.
Two more questions:
  1. If my current kernel does not support jfs, what driver is letting me use my /home partition as I am currently doing? How come the system is up and runnning nonetheless?
  2. When I recompile the kernel, I don't want to lose all the nice features Zenwalk already has. How can I make sure all the rest stays the same, after adding the jfs patch?
 
Old 09-23-2007, 12:25 PM   #7
guth
Member
 
Registered: Aug 2006
Location: France
Distribution: Zenwalk
Posts: 132

Rep: Reputation: 15
Quote:
Originally Posted by xri View Post
Now I see my mistake. Since Slack supports jfs, I assumed that the current Zenwalk does it too. I should have been more careful.
Two more questions:
  1. If my current kernel does not support jfs, what driver is letting me use my /home partition as I am currently doing? How come the system is up and runnning nonetheless?
you have to add jfs support either as module or built-in your "home made" kernel
Quote:
  1. When I recompile the kernel, I don't want to lose all the nice features Zenwalk already has. How can I make sure all the rest stays the same, after adding the jfs patch?
just install the package kernelsources (eithere by un-blacklisting it in netpkg.conf or downloading and installing it with installpkg or thunar right-click) from zenwalk mirrors and you'll have the default .config
 
Old 09-23-2007, 04:13 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by xri View Post
what driver is letting me use my /home partition as I am currently doing? How come the system is up and runnning nonetheless?
It is just a directory under the root. If you compile jfs support in and reboot with that fstab your user will not have access to the old /home.
Might pay to come up in single user and copy the /home before logging the user on.
 
Old 09-23-2007, 05:39 PM   #9
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283

Original Poster
Blog Entries: 11

Rep: Reputation: 41
Smile

Now I'm getting the picture. Thank you all for your help.
I'll recompile and post about it, for the records.
 
Old 09-28-2007, 05:36 AM   #10
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283

Original Poster
Blog Entries: 11

Rep: Reputation: 41
Unhappy I still can't mount it with the new kernel!!

I recompiled the 2.6.22.9 kernel and chose Y (not as module) on jfs on "Filesystems".
I also installed jfsutils.

However, after mount -t jfs /dev/sda10 /mnt/hello

Quote:
mount: unknown filesystem type 'jfs'
After jfs_fsck /dev/sda10

Quote:
jfs_fsck version 1.1.11, 05-Jun-2006
processing started: 9/28/2007 6.32.15
Using default parameter: -p
The current device is: /dev/sda10
Block size in bytes: 4096
Filesystem size in blocks: 7456160
**Phase 0 - Replay Journal Log
Filesystem is clean.

What am I missing here?
 
Old 09-29-2007, 09:09 PM   #11
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283

Original Poster
Blog Entries: 11

Rep: Reputation: 41
I recompiled several times, either setting the jfs support as a module or as part of the kernel. Every time, it gave me the error messages shown above. Maybe I made a mistake at some point. I'll eventually figure it out. In the meantime, I installed a regular kernel from Slack, with support for jfs already. It's working fine.
 
  


Reply

Tags
jfs



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
How can I not show my home dir when syncing IMAP? nuzzy Linux - Server 3 04-27-2011 03:38 PM
Can I move /home partition under root partition arijit_2404 Linux - General 3 07-05-2007 12:01 AM
Konqueror: Icons/file names don't show up for home dir jlangelier Linux - Software 3 12-10-2004 02:54 PM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 10:19 PM
imap folders show my whole /home/user directory nuzzy Linux - Software 2 04-16-2003 06:44 PM

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

All times are GMT -5. The time now is 08:18 AM.

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