Solved

how to check all 6 hard drives from within Solaris 10

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
cant install flashplugins for firefox in freebsd 8 9 46
prtdiag report hdd failure 10 151
Linux : adding the new user with password option, 11 107
Sed question 2 86
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…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
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…

810 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