08-16-2011
Solaris format
Hello,
I have a few questions about format and disks in general. Would like to get some interpretation.
defects:
primary: ..... defects form the factory?
grown: ........ defects happening as drive is in use?
What would be a rule of thumb regarding a point when the drive would require it to be swapped?
refresh ....... does this repair errors ; soft; hard ?
Is there a command that is nondestructive that could clean up soft; hard errors?
fsck does some of this I know, I would need to reboot off the mirror, mnt the drive and then do fsck, is this correct?
Anything you wish to add here is all good...
Thanks for the time; I am an old hardware guy new System admin. I like the admin side the best. Get to use the skills I received when I went to the Sun schools.
10 More Discussions You Might Find Interesting
1. Solaris
I am seeking advice from experts in this forum. Please help me.
I have tow disks on Sun Sparc box. Disk one has been installed Solaris 9 system. The disk two has been partitioned as one disk with 140 GB on the partition /dev/dsk/c1t1d0s6. Right now, I want to modify it as two partitions. I have... (8 Replies)
Discussion started by: duke0001
8 Replies
2. Solaris
Hi All,
Very need help about format syntax on solaris 10.
I have done install Solaris 10 OS on sun fire v245 but currently i have a problem to use "format" command to display partition info for my hard drive.
i cannot enter the format menu, below is captured display :
# format
Searching... (7 Replies)
Discussion started by: bucci
7 Replies
3. Solaris
Hi,
i just want to know how to format date command in solaris. like in linux if i use `date +%s`, it gives me seconds since 1970, but in solaris (sol86) , it is giving %s as result.
Is there any different way in solaris
Thanks
Sarbjit (1 Reply)
Discussion started by: sarbjit
1 Replies
4. Solaris
Hello everyone, my job has an old Solaris 9 box, that no one knows the password for, but we need to format the hard drives to salvage it, we are able to get to the password prompt when we telnet into it but that is it, is there a way that we can format the drives without knowing the password.
... (1 Reply)
Discussion started by: campch5
1 Replies
5. Solaris
Hi
We have upgraded our sun machine from solaris 9 to solaris 10.
Before upgradation the date command output(Solaris 9)
Wed Oct 13 09:45:21 IST 2010
But after upgradation the output for date is as below(solaris 10).
Wednesday, October 13, 2010 9:46:14 AM IST
Looks like I need to... (1 Reply)
Discussion started by: csreenivas
1 Replies
6. Solaris
I have a CP3260 Blade connected to a RTM which houses a Seagate ST9146802SS SAS Hard Drive in a CT900 Chasis.
I wanted to format the Hard Drive before i started installation of Solaris 10 OS.
I performed the following steps
{0} ok boot disk -s
# format
specify disk (enter its number): 0... (0 Replies)
Discussion started by: Justin83
0 Replies
7. Solaris
I have Solaris-10 server. During troubleshooting of some storage issue, I removed disk entries from /dev/dsk and /dev/rdsk
rm /dev/vx/dmp/*
rm /dev/vx/rdmp/*
rm /dev/dsk/*
rm /dev/rdsk/
And rebooted the box. That recreated device tree for SAN disks, but I do not see c1t0d0s0 and c1t1d0s0... (7 Replies)
Discussion started by: solaris_1977
7 Replies
8. Shell Programming and Scripting
I want to develop a script that I can run like follows:
./format_disks.sh <disk name 1>, <disk name 2>, etc...
Some background. I've create a VMware based virtual machine that has Solaris 5.11 installed on it. Initially, the only disk that is on this VM is the one that hosts the OS. ... (1 Reply)
Discussion started by: wdg74
1 Replies
9. Solaris
I have list of dates in a file. Am reading each line and trying to format date, Can you please help me ?
Sample file content:
02/22/16 USA is great country
02/21/16 USA future
02/23/16 who is he
I want to read each line from above file and format date as below
2016-02-21 (i.e., using... (1 Reply)
Discussion started by: prince1987
1 Replies
10. Solaris
Hi,
I want to change time format to AM/PM format. In below output -
-bash-3.2# date
Thu Jul 27 16:48:59 PDT 2017
-bash-3.2#
I want to be it 4:48:59 PM. NTP is configured on this. Can time format be changed while NTP server is configured ?
Thanks (3 Replies)
Discussion started by: solaris_1977
3 Replies
SPLIT(1) FSF SPLIT(1)
NAME
split - split a file into pieces
SYNOPSIS
split [OPTION] [INPUT [PREFIX]]
DESCRIPTION
Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default PREFIX is `x'. With no INPUT, or when INPUT is -, read standard
input.
Mandatory arguments to long options are mandatory for short options too.
-a, --suffix-length=N
use suffixes of length N (default 2)
-b, --bytes=SIZE
put SIZE bytes per output file
-C, --line-bytes=SIZE
put at most SIZE bytes of lines per output file
-l, --lines=NUMBER
put NUMBER lines per output file
--verbose
print a diagnostic to standard error just before each output file is opened
--help display this help and exit
--version
output version information and exit
SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.
AUTHOR
Written by Torbjorn Granlund and Richard M. Stallman.
REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>.
COPYRIGHT
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
The full documentation for split is maintained as a Texinfo manual. If the info and split programs are properly installed at your site,
the command
info split
should give you access to the complete manual.
split (coreutils) 4.5.3 February 2003 SPLIT(1)