Joe, Yes thats what i was thinking too. Thanks for direction. Cheers! --Kapil Joe Polk <[EMAIL PROTECTED]> wrote: I'm sorry I didn't address the external drive. Yes, I would get the drive setup and create a partition. I would then tar up my /usr directory. Then remove everything from /usr but I would think you'll need to leave /usr there but empty. Then simply mount the new /usr to /dev/<whateveryournewhdis>. You'll need an entry in /etc/fstab I imagine, perhaps someone can clarify. The key is once you know the device name, /dev/sda1 for example, you can mount it to the empty /usr with mount.
<<JAV>> On Sat, 2003-03-01 at 14:04, Kapil Khanna wrote: > Joe, > Thanks for the suggestions. Well i am using the laptop as a server so it will > always be connected on the network. > >From reading your suggestions i thought maybe buying an external hard drive > could be a solution. Assume i have an external hard drive what should my next > steps be: > 1) Format the drive > 2) copy /usr to the new drive. > 3) rm /usr from primary drive > 4) mount /usr from secondary drive onto primary? > Am i reading you correct? > > Joe Polk <[EMAIL PROTECTED]> wrote: > You can't mount to / directly because / is already mounted. You can, > however, mount to a subdirectory by creating the empty directory and > then mounting it. This is why /mnt works and / doesn't. 60% isn't > necessarily a problem yet. The culprit, however, is likely /usr. Much of > your application files will go here. Thus, the more apps you install, > the more space is used. If you have /usr on a separate partition you > would see this clearly. I would think, though, simply moving /usr to an > SMB filesystem (Windows) might prove dangerous. Permissions would > likely not be exact, though someone can clarify or correct me there. > Also, you must realize that with a laptop, when you remove yourself from > the network, you may lose functionality. If you're really concerned > about space, you might want to pull that hard drive and see what type it > is. I've found that laptop hd's come in 2 flavors: a relatively standard > thickness and a somewhat thinner one. I don't know if these have > technically assigned names denoting form factor, but you can research. > If you determine your type, try going out to Pricewatch.com pricing a > new one or eBay for a second hand one. You could probably pick up a > 5-10GB drive fairly cheaply. Just a thought. In the meantime, if you > have the basic setup you want, you probably should worry too much about > 60%. If you were inclined to reinstall, you could try putting /usr on > it's own partition. This way, should it reach capacity, / would be > filled and crash your system. > > <<JAV>> > > On Sat, 2003-03-01 at 12:22, Kapil Khanna wrote: > > I recently installed Redhat on an old P2 laptop. It works like a champ and > i > > am extremely pleased. However the laptop only comes with 2.5 GB of hard > drive > > space. Using the system over the last couple of weeks has the drive at 60% > of > > its capacity. Thats making me anxious that someday i will have to deal with > > space issues. > > I was successfully able to map a Windows file system from another machine > on > > my network via Samba on /mnt. > > I have always wondered if i can mount this additional windows file system on > / > > (root) rather than a sub directory of /. That way i can add virtual hard > drive > > space to that Linux box. In fact i tried doing this once but was > unsuccessful > > with a message saying the device/resource was busy. > > Any ideas on how i can get around this problem? I have thought about > symblins > > from the linux file system directories to the samba share, what other > options > > can i explore? If i install an external hard drive will that add space to my > / > > (root) file system? > > A df on my machine reveals the following: > > Filesystem 1k-blocks Used Available Use% Mounted on > > /dev/hda2 2885216 1622088 1116568 60% / > > /dev/hda1 50723 5967 42137 13% /boot > > none 47188 0 47188 0% /dev/shm > > > > > > > > > > > > -- > > redhat-list mailing list > > unsubscribe mailto:[EMAIL PROTECTED] > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list