Solved

how to check all 6 hard drives from within Solaris 10

Posted on 2006-06-20
2
1,196 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

690 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