Solved

how to check all 6 hard drives from within Solaris 10

Posted on 2006-06-20
2
1,181 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

759 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