Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: How to NFS remount /home

Hybrid View

  1. #1
    Member registered user
    Join Date
    Mar 2005
    Posts
    58

    How to NFS remount /home

    I try to remount /home & no go. I tried umount & it says it's busy.
    I assume that it has to be mounted right the first time because
    after that it's in use & can't be unmounted?
    I've read alot & can't see how to remount it to /mnt/hda3/homes.
    mtab is where it's mounted, & it's rewrote on boot, can't change it.
    Need each client PC to unmount /home/knoppix on the ramdisk, &
    nfs mount it on the server to /mnt/hda3/homes/$LOGNAME.
    I can get the nfs mount to work, if I could unmount the old /home.

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: How to NFS remount /home

    Yikes, you're doing this from the livecd?

    The way I see it, you have 2 options:

    1. Remaster. Change the boot script(s) to mount the /home you want.

    2. Mount your NFS /home at a different directory, and just give everybody access to it. Unless you're using custom BASH init scripts (like .profile) this would seem to be the better way to go. And you can always have everyone do ' source /home2/$USER/.profile ' manually if you need to.

    Optionally, you can edit /etc/passwd and change the user's home directory (this is how root gets /root, and everybody else gets /home/blah. See ' man 5 passwd '.)

    2nd Optionally:
    ' adduser knoppix2 ' and mount your stuff at /home/knoppix2. Save everything with the "persistent home" script. See if it works at reboot.

    If ya can't attack it directly, sometimes ya can get around it.

    Quote Originally Posted by sunburnt
    I try to remount /home & no go. I tried umount & it says it's busy.
    I assume that it has to be mounted right the first time because
    after that it's in use & can't be unmounted?
    I've read alot & can't see how to remount it to /mnt/hda3/homes.
    mtab is where it's mounted, & it's rewrote on boot, can't change it.
    Need each client PC to unmount /home/knoppix on the ramdisk, &
    nfs mount it on the server to /mnt/hda3/homes/$LOGNAME.
    I can get the nfs mount to work, if I could unmount the old /home.

  3. #3
    Member registered user
    Join Date
    Mar 2005
    Posts
    58

    Sorry...

    I usually say: poormans install to HD, a little easer to deal with
    than the live CD when it comes to modifing the system.
    I could full HD install, but I really don't need much changed...
    A home for each client & remove some menu & task bar items.

    I don't understand the complete interplay of all these parts,
    just the basics of the descrete parts. When I do I'll do a Wikki!
    Clarify please: clients boot from server but run their own apps.?
    After clients boot the server's a NAS for apps. & clients homes?

    If I do Persistant Home & Save Config. on each client, the files
    will overwrite each other (correct?). Are file names/paths fixed?
    This would be OK, but it seems real home dirs. are easer to do.
    I'll need some config. changes to the clients though, menus, etc.

    Need clients to mount /$LOGNAME or /$USER for work spaces.
    Clients fstab it seems is made by: knoppix-terminalserver.
    Modify it so fstab's it makes, mounts EACH clients work space?
    Or have clients run a boot script using /$USER to mount it?

    All this shows my ignorance, I'm trying to change that rapidly!
    Many thanks for answering me, I hope you'll keep helping.
    Is it OK to use your link to talk to you directly?
    So you won't have to keep checking this post. .......... Terry B.

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: Sorry...

    Now you're getting esoteric. ~ It's better to keep it in the public forum, that way more eyes will see it. When it comes to terminal server / persistent home, I have no experience; I'm all installed-to-HD.

    If you could describe your setup more completely (and why you "need" it that way) that would help. IMHO, you're better off installing to HD unless you're really strapped for HD space, or these aren't "dedicated" computers.

    Quote Originally Posted by sunburnt
    I usually say: poormans install to HD, a little easer to deal with
    than the live CD when it comes to modifing the system.
    I could full HD install, but I really don't need much changed...
    A home for each client & remove some menu & task bar items.

    I don't understand the complete interplay of all these parts,
    just the basics of the descrete parts. When I do I'll do a Wikki!
    Clarify please: clients boot from server but run their own apps.?
    After clients boot the server's a NAS for apps. & clients homes?

    If I do Persistant Home & Save Config. on each client, the files
    will overwrite each other (correct?). Are file names/paths fixed?
    This would be OK, but it seems real home dirs. are easer to do.
    I'll need some config. changes to the clients though, menus, etc.

    Need clients to mount /$LOGNAME or /$USER for work spaces.
    Clients fstab it seems is made by: knoppix-terminalserver.
    Modify it so fstab's it makes, mounts EACH clients work space?
    Or have clients run a boot script using /$USER to mount it?

    All this shows my ignorance, I'm trying to change that rapidly!
    Many thanks for answering me, I hope you'll keep helping.
    Is it OK to use your link to talk to you directly?
    So you won't have to keep checking this post. .......... Terry B.

  5. #5
    Member registered user
    Join Date
    Mar 2005
    Posts
    58

    Doesn't have to be that way, just seemed easy.

    Full HD had Term. server problems, but KDE login worked.
    Poorman works so well just as it is (am I wrong).
    It's probably different for each version, mine's Knoppix 3.3.

    Good HD space, PCs are dedicated, CD copy's an easy install.
    Workspaces can be called anything, $USER would allow users
    to access their workspace from any machine with a login.
    Many ways to do this, I'm not picky, just need workspacces.

    So how to feed clients a modded fstab, or a mount command.
    Poormans or full install, the problem's still the same I think.
    Server: 900 duron, 160mb ram, 6gb HD, don't think this helps.
    If there's anything specific you need to know... ask!

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: Doesn't have to be that way, just seemed easy.

    3.3(!) You're a few versions behind...

    You can get the latest ISO (bittorrent) here: http://torrent.unix-ag.uni-kl.de/

    --BTW, my "bigbox" is a 900 Duron, as well.

    Quote Originally Posted by sunburnt
    Full HD had Term. server problems, but KDE login worked.
    Poorman works so well just as it is (am I wrong).
    It's probably different for each version, mine's Knoppix 3.3.

    Good HD space, PCs are dedicated, CD copy's an easy install.
    Workspaces can be called anything, $USER would allow users
    to access their workspace from any machine with a login.
    Many ways to do this, I'm not picky, just need workspacces.

    So how to feed clients a modded fstab, or a mount command.
    Poormans or full install, the problem's still the same I think.
    Server: 900 duron, 160mb ram, 6gb HD, don't think this helps.
    If there's anything specific you need to know... ask!

  7. #7
    Member registered user
    Join Date
    Mar 2005
    Posts
    58

    Now I'm really confused!

    Checked clients hostname & username & they're the same
    as the servers. That & the fact the clients IP addresses are
    dynamic, makes trying to nfs mount anything real tough.

    So it's best to do a full HD install, until I understand more.

    Can the full HD be copied to another HD, just like the CD?

  8. #8
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: Now I'm really confused!

    --The server, at least, should be installed to HD and have a static IP address. At that point, whether the clients are dynamic or not shouldn't matter, as long as /etc/hosts.allow and hosts.deny are commented out on server-side. You should however have all potential client IP's listed in /etc/hosts on the server.

    --I can assist you with setting up a DHCP server with limited IP Address range; how many computers are you running this setup on?

    --AFA copying the HD, in my experience you're better off doing individual installs unless 1) the hardware is EXACTLY the same across all machines, and 2) you really know what you're doing, and what needs to be modified per-machine.

    Quote Originally Posted by sunburnt
    Checked clients hostname & username & they're the same
    as the servers. That & the fact the clients IP addresses are
    dynamic, makes trying to nfs mount anything real tough.

    So it's best to do a full HD install, until I understand more.

    Can the full HD be copied to another HD, just like the CD?

  9. #9
    Member registered user
    Join Date
    Mar 2005
    Posts
    58

    re: poormans

    I'm convinced that the file: /usr/sbin/knoppix-terminalserver is the key to making the poormans install work, it mounts & copies stuff in a function called: mkinitrd().
    I just wish I were more guruish at scripting so I could understand all of it!

    Anyway... about a dozen PCs, but could be more, I used: x.x.x.101 to x.x.x.250.

    So when installing to the HD, the hardware setup becomes fixed & the auto detection no longer takes place?
    That's one of the major things I liked about Knoppix, PC portability.

    How to wipe out Mepis to make room for full install? Mepis can't bring eth0 up anyway.

    P.S. My other post about KDE login is part of this "project". How to get one at boot?

  10. #10
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: re: poormans

    o When installing to HD, you have the option to have HW detection occur at boot.

    o To wipe Mepis, simply ' mkreiserfs /dev/hdXX ' on its partition (without it being mounted!) and run the install script (it used to be knx-hdinstall, but now I think it's knoppix-installer ; haven't used it for a while.)

    --It may be a good idea to backup the mepis /etc and any other critical files that might come in handy before flaming it. I kept my old SuSE 7.3 /etc when I installed Kpx to HD and it came in handy.

    --AFA KDE login, no experience; sorry.

    Quote Originally Posted by sunburnt
    I'm convinced that the file: /usr/sbin/knoppix-terminalserver is the key to making the poormans install work, it mounts & copies stuff in a function called: mkinitrd().
    I just wish I were more guruish at scripting so I could understand all of it!

    Anyway... about a dozen PCs, but could be more, I used: x.x.x.101 to x.x.x.250.

    So when installing to the HD, the hardware setup becomes fixed & the auto detection no longer takes place?
    That's one of the major things I liked about Knoppix, PC portability.

    How to wipe out Mepis to make room for full install? Mepis can't bring eth0 up anyway.

    P.S. My other post about KDE login is part of this "project". How to get one at boot?

Page 1 of 2 12 LastLast

Similar Threads

  1. $HOME directory (/home/knoppix) is out of disk space
    By benopdezolder in forum Hdd Install / Debian / Apt
    Replies: 23
    Last Post: 02-03-2009, 01:45 AM
  2. Persistent Home
    By staran in forum Hardware & Booting
    Replies: 1
    Last Post: 01-18-2007, 05:41 PM
  3. home automounting
    By donnyriyadi in forum General Support
    Replies: 1
    Last Post: 12-10-2004, 01:10 AM
  4. Partition /home
    By al.rovelli in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 10-28-2004, 12:56 AM
  5. Replace default cd home drive with persistant home drive ???
    By ktheking in forum Customising & Remastering
    Replies: 6
    Last Post: 01-02-2004, 09:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Genuine IBM ThinkPad Trackpoint Tip Cap Pack 91P8421 NEW OLD STOCK -SEALED - OEM picture

Genuine IBM ThinkPad Trackpoint Tip Cap Pack 91P8421 NEW OLD STOCK -SEALED - OEM

$8.88



Vintage IBM 5140 PC Convertible Power Supply AC Adapter Charger 2684292 OEM picture

Vintage IBM 5140 PC Convertible Power Supply AC Adapter Charger 2684292 OEM

$39.99



IBM 5763-SS1 R02M00 AS/400 Cumulative PTFS Operating System/400 V3 LOT 6 OEM New picture

IBM 5763-SS1 R02M00 AS/400 Cumulative PTFS Operating System/400 V3 LOT 6 OEM New

$999.99



2025 NEW Genuine OEM BATTERY for IBM 00Y4643 00Y4594 90Y7689 90Y7632 V3700 V3500 picture

2025 NEW Genuine OEM BATTERY for IBM 00Y4643 00Y4594 90Y7689 90Y7632 V3700 V3500

$119.00



IBM OEM Genuine 1969-009 CD Driver  Untested As PARTS. Read Description. picture

IBM OEM Genuine 1969-009 CD Driver Untested As PARTS. Read Description.

$32.99



IBM 6450350 OEM PS/2 2-Button Ball Mouse NEW NOS Made in Japan picture

IBM 6450350 OEM PS/2 2-Button Ball Mouse NEW NOS Made in Japan

$19.99



IBM OEM Genuine 1969-010 CD Driver  Untested picture

IBM OEM Genuine 1969-010 CD Driver Untested

$40.49



IBM OEM Model DTTA-371440 14.4 GB 12V 500 A picture

IBM OEM Model DTTA-371440 14.4 GB 12V 500 A

$70.00



IBM Genuine OEM Network Printer 12 Toner Cartridge 63H3005 Printer Ink - NEW  picture

IBM Genuine OEM Network Printer 12 Toner Cartridge 63H3005 Printer Ink - NEW

$119.58



IBM ThinkPad UltraBay Hard Drive Lot 3 OEM HDD Caddies 20GB 40GB & 60GB Drives picture

IBM ThinkPad UltraBay Hard Drive Lot 3 OEM HDD Caddies 20GB 40GB & 60GB Drives

$59.99