Solved

how to check all 6 hard drives from within Solaris 10

Posted on 2006-06-20
2
1,185 Views
Last Modified: 2013-12-21
I am installing Solaris 10 for the first time and have no experience installing unix OSs. Only thing I am good at is following directions. I intend to install and reinstall until I am confident enough with its configuration that I can colocate the box. Thus, security is a major concern for me, including concerns regarding someone having physical access of the drives should the box ever get stolen (encryption of the data drives is of great interest to me).


This server has 6 18 gb drives. What command(s) do I use at the console (no gui) to have the system check the integrity of all 6 drives? I guess I am looking for the Sun Solaris 10 equivalent to 'scandisk' or 'chkdsk' -- some means to verify that all 6 drives are functional and error-free.
0
Comment
Question by:TJonLongIsland
2 Comments
 
LVL 10

Accepted Solution

by:
Nukfror earned 500 total points
ID: 16945811
In Solaris, the equivalent is "fsck".  *But* you generally don't run fsck while the system is running in a production state as could many times throw lots of false-positives. fsck is by best practice run in what's called single user mode.  The system could run fsck on its own during boot up if it sees a problem but there are cases where the system won't if the issues it sees in UFS look bad enough e.g. it makes *you* run fsck manually.

What I suggest you do is wait just a *little* bit longer this month and Solaris 10 Update 2 will be officially out.  In U2 is what's called ZFS - the last-best file system you'll ever need.  ZFS requires *NO* fsck'ing - ever.  Unfortunately, ZFS isn't coming out boot-ready so you're boot disks will still need to be UFS (w/ logging enabled - which it is by default in Solaris 10).

Solaris doesn't have any file system encryption capabilities that come with the system.  ZFS has been written that it will allow for modules to be added to it that would do this sort of thing - they just haven't been developed yet.

I suggest you take a look here:

http://docs.sun.com/app/docs/doc/817-2271/6mhupg6g0

Also since you are very concerned about security, you might seriously consider using Zones for your externally addressable applications and lock them down using RBAC - first thing I would do is setup a Primary Administrator login with the zone and turn "root" into a RBAC role.

Man, your questions this week basically are opening up many of the feature sets in Solaris 10: IPFilter, SSH, RBAC, Zones, ZFS, you'll probably have SMF questions, FMA, etc etc.
0
 

Author Comment

by:TJonLongIsland
ID: 16947234
Thanks!

This server is far from being in a 'production' state; I have just been installing Solaris 10 and reading up on everything. My only concern regarding the hard drives is that one began to vibrate really bad when it spun up, so I replaced it with a spare I had. Since the hardware sat unused for 2 years or so, I just want to verify the drives before I actually work on a final install and config.

I really appreciate your info, and must admit, I'm too much of a noob to know what some of the things you mention are without looking stuff up. Aw well, that's why I am here, and why I pay to be able to ask all kinds of questions on this site..

Thanks again!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now