openSUSE Forums > Archives > Novell Archives » Re: Two hard drives

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 25-Mar-2005, 14:47
baskitcaise
Guest
 
Posts: n/a
Default Re: Two hard drives

Bob Williams adjusted his/her tin foil beanie and asbestos underwear
to
write:

> First of all, could I say how much I've learned just by lurking here


> for the past two weeks I'm especially grateful to Mark and Kevin> (impressed with Project54).
>
> Now that you've all got a nice warm feeling, here's my first

question.
>
> I've installed SuSE 9.2 by ftp download onto hda, accepting YaST's
> suggestions re partitioning, etc. I've also got hdb in this machine,


> and probably because I've come from a DOS/Windows environment, I'm
> eager to use it. How can my everyday user mount this drive and put
> some folders on it?



Quick answer is use Yast>System>Partitioner and add it as a mount
point
somewhere making sure you give the right permission for the users to
mount it, you could even get it to mount on boot so the users do not
need too, create a dir in / ( call it data1 or something ) and use
that
as a mount point.

Another good idea is to use the second drive as the /home dir so the
users can keep their data if you need to format and install a newer
distro.


--
Mark
Novell Support Forums SysOp
Twixt hill and high water
N. Wales, UK.



  #2 (permalink)  
Old 25-Mar-2005, 16:42
Bob Williams
Guest
 
Posts: n/a
Default Re: Two hard drives

In message "Two hard drives"
<JN_0e.3387$LF2.3363@prv-forum2.provo.novell.com>, in
novell.support.suse.linux.professional on Fri, 25 Mar 2005 baskitcaise

wrote

>Bob Williams adjusted his/her tin foil beanie and asbestos underwear

to
>write:
>
>> First of all, could I say how much I've learned just by lurking

here
>> for the past two weeks I'm especially grateful to Mark and Kevin


>> (impressed with Project54).
>>
>> Now that you've all got a nice warm feeling, here's my first

question.
>>
>> I've installed SuSE 9.2 by ftp download onto hda, accepting YaST's>> suggestions re partitioning, etc. I've also got hdb in this

machine,
>> and probably because I've come from a DOS/Windows environment, I'm>> eager to use it. How can my everyday user mount this drive and put>> some folders on it?

>
>
>Quick answer is use Yast>System>Partitioner and add it as a mount

point
>somewhere making sure you give the right permission for the users to>mount it, you could even get it to mount on boot so the users do not>need too, create a dir in / ( call it data1 or something ) and use

that
>as a mount point.
>

Thanks, I'll try that. So, I add a line in /etc/fstab

/dev/hdb1 /home ext2 defaults 0 3 ?

Do I also need a mount command anywhere?

>Another good idea is to use the second drive as the /home dir so the>users can keep their data if you need to format and install a newer
>distro.
>

Now that sounds a very good idea Trouble is, hda is 40GB and hdb is

10GB. Should be the other way round
--
Bob
Obviously, the truth is what's so
Not so obviously, it's also so what


  #3 (permalink)  
Old 26-Mar-2005, 01:24
baskitcaise
Guest
 
Posts: n/a
Default Re: Two hard drives

Bob Williams adjusted his/her tin foil beanie and asbestos underwear
to
write:


>>Quick answer is use Yast>System>Partitioner and add it as a mount
>>point somewhere making sure you give the right permission for the
>>users to mount it, you could even get it to mount on boot so the

users
>>do not need too, create a dir in / ( call it data1 or something )

and
>>use that as a mount point.
>>

> Thanks, I'll try that. So, I add a line in /etc/fstab
>
> /dev/hdb1 /home ext2 defaults 0 3 ?
>
> Do I also need a mount command anywhere?


No the fstab enrty is the "mountpoint", you do not want to mount it
to /home as you will already have a /home, if you do that the old home

will be ignored and you will not find your users, just make a dir in /

with a name and put that in fstab.

As root:-

mkdir /data1

pico /etc/fstab

(edit fstab, you can use your own choice of editor I use pico and addthis next line)


/dev/hdb1 /data1 auto defaults 0 3


This will mount the drive on boot to /data1.
>
>>Another good idea is to use the second drive as the /home dir so the


>>users can keep their data if you need to format and install a newer>>distro.
>>

> Now that sounds a very good idea Trouble is, hda is 40GB and hdb

is
> 10GB. Should be the other way round


Best to use it as a common dumping ground then if you expect your
users
to use more than 10gig combined or you could delve into LVM which
would
use it as a dynamic extension of /home.

There are other things you could try like making a dir on hdb1 for
each
user with the correct perms and then they could symlink into a dir intheir /home so that it appears as another dir to them which only theycan use, you could also use it as /home and if you start running out
of
space then use the old /home on hda to expand it, with a bit of
lateral
thinking the world is your lobster :-)

Much to early for me to go on, got to have coffee, the blood level in
my
caffeine stream is too high.

HTH

--
Mark
Novell Support Forums SysOp
Twixt hill and high water
N. Wales, UK.



 

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2