Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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.

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?

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.

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

![]() |
![]() |
![]() |

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