Computing.Net > Forums > Solaris > mount new disk in existing dir

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

mount new disk in existing dir

Reply to Message Icon

Name: ingmar
Date: July 1, 2004 at 02:55:30 Pacific
OS: solaris 9 x86
CPU/Ram: Dell Optiplex GX1 P3 600
Comment:

Hi people, thanks to those who replied to my previous question, here comes another basic one..
I managed to install and mount a new hard drive the other day. Let's say i mounted it as /newdisk . The computer still got a free IDE-slot so i might install another drive (when my economy has recovered :)) So the question is: when i install the second disk, is it possible to mount it in /newdisk aswell without spoiling any data?
Oh, and while i'm at it.. I prefer using common sense and 'trial and error' instead of reading long manuals when learning things. So when I installed the first drive I found out about those c0d1s2-things, which were kind of cryptic to me at first. I played around with format and newfs. And everything went fine. The disk was 200 GB, but when i check the mounted dirs with 'df -k' (or some similar command) the /newdisk was only 190 GB. I thought it was only microsofts filesystems who "stole" some percentage of the disk when formatting. Does all systems do that or did I config something wrong? I havn't started to use the disk yet, so I can easilly reformat it.. Yesterday I was happy to succeed mounting it, and that the motherboard (or bios or what it is) supported disks >120 GB since I wasn't sure when i bought the disk. 10 GB doesn't really matter, but it would be nice to squeeze out all of the space..
Any tips?
/ingmar



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: July 1, 2004 at 03:50:54 Pacific
Reply:

Formatted capacity is always lower than the possible max. Solaris formats a drive with superblocks and a provision to remap bad sectors, although I'm not sure the later applies to IDE.

Don't have two disks share the same mount point. You can however mount the next drive as /newdisk/directory.


0

Response Number 2
Name: ingmar
Date: July 1, 2004 at 04:51:45 Pacific
Reply:

Thanks for answering, but now another question pops up. Since I've only been using windows machines until a few weeks ago I'm not used to the filesystem that *nix distrobutions uses. I suppose this is something I need to study a bit so I understand the basics at least.
Anyway..I mount the 200 GB as /newdisk and mount another drive (let's say it's 100 GB) as /newdisk/new100 . Is the directory /newdisk/new100 completely independent from the 200GB drive? And the size 100 GB and not 300 GB?


0

Response Number 3
Name: David Perry
Date: July 2, 2004 at 04:07:42 Pacific
Reply:

Yes. You are correct. If you mounted one disk as /newdisk and a second as /newdisk/new100 then issued a df -k command, you would see they should up as different file systems with different capacities. Local or network mounted file systems all show up as mount points and not separate drive letters as in windows.


0

Response Number 4
Name: florocent
Date: July 9, 2004 at 00:53:27 Pacific
Reply:

Solaris Using c0d0 as which is called primary master in windows and c0d1 which is called primary slave, like so c1d0 will be secondary master and c1d1 will be secondary slave.
as c0d0 there is also s1 or s2 these *S are actually all solaris partions and are mounted inside the UFS file system.
I hope this will help you to understand SUN.

Good luck

admin@paklight.net


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: mount new disk in existing dir

two disks in the same mounting point www.computing.net/answers/solaris/two-disks-in-the-same-mounting-point/921.html

Solaris:replacing secondary disk www.computing.net/answers/solaris/solarisreplacing-secondary-disk/3912.html

Install a new disk www.computing.net/answers/solaris/install-a-new-disk/2982.html