(Need Help) confusing format on solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris (Need Help) confusing format on solaris 10
# 1  
Old 11-15-2007
Question (Need Help) confusing format on solaris 10

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 for disks...done


AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@1,0
2. c1t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@2,0
3. c1t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@3,0
Specify disk (enter its number): 0
selecting c1t0d0
[disk formatted]


after i run format command and choose disk 0 the display stuck on "[disk formatted]"


any idea ?

please help

Thank you and regards,

bucci
# 2  
Old 11-16-2007
Formatted DOES NOT mean everything in the disk in deleted. This is the 4th time am explaining someone (3 times at work and now to u :-))

Formatting means the Disk has been formatted in a way in which FS can be built. In your case the FS is already built and the disk is formatted. It might even contain data but still the disk IS formatted

Also if you buy a new disk and fit it in and check your format output wont say the disk is formatted until and unless the manufacturers really have formatted the disk and given it to you

Again this is my understanding and it might be wrong

~Sage
# 3  
Old 11-16-2007
Eg:

bash-3.00# prtconf -pv | grep boot
boot-retained-page:
bootargs: 00
bootpath: '/pci@1c,600000/scsi@2/disk@1,0:a'
auto-boot-on-error?: 'false'
auto-boot?: 'true'
boot-command: 'boot'
diag-device: 'boot1'
boot-file:
boot-device: 'boot1'
error-reset-recovery: 'boot'
boot1: '/pci@1c,600000/scsi@2/disk@0,0'
boot2: '/pci@1c,600000/scsi@2/disk@1,0'
bash-3.00# uname -a
SunOS xxxxx 5.10 Generic_125100-10 sun4u sparc SUNW,Sun-Fire-V240
bash-3.00# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/sd@0,0
1. c0t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/sd@1,0
Specify disk (enter its number): 1
selecting c0t1d0
[disk formatted]


As you see, i am booted from the disj c0t1d0 and format says it is formated

~Sage
# 4  
Old 11-16-2007
Hi Sage,

Thank you for your response, I still confusing why in other server which have formatted disk and mirrored can run "format" command and can display the partition information?

the purpose that i want is display partition information and change partition on disk 2 and 3.

any idea?

Please advice

Thank you

Best Regards,

bucci


Quote:
Originally Posted by s4g3
Eg:

bash-3.00# prtconf -pv | grep boot
boot-retained-page:
bootargs: 00
bootpath: '/pci@1c,600000/scsi@2/disk@1,0:a'
auto-boot-on-error?: 'false'
auto-boot?: 'true'
boot-command: 'boot'
diag-device: 'boot1'
boot-file:
boot-device: 'boot1'
error-reset-recovery: 'boot'
boot1: '/pci@1c,600000/scsi@2/disk@0,0'
boot2: '/pci@1c,600000/scsi@2/disk@1,0'
bash-3.00# uname -a
SunOS xxxxx 5.10 Generic_125100-10 sun4u sparc SUNW,Sun-Fire-V240
bash-3.00# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/sd@0,0
1. c0t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1c,600000/scsi@2/sd@1,0
Specify disk (enter its number): 1
selecting c0t1d0
[disk formatted]


As you see, i am booted from the disj c0t1d0 and format says it is formated

~Sage
# 5  
Old 11-16-2007
Oops didnt see the last part - so the format command hangs..

did u check dmesg and find out if there is anything wrong with that disk

why dont u umount the disk, run an fsck -y and then try


~Sage
# 6  
Old 11-16-2007
I have checked the disk is ok, before happen like this, i have done with install new solaris 10 and do mirroring on disk 0 and disk 1. the mirroring until now is normally dont have any system error messages.

please advice

Thanks and regards,

bucci

Quote:
Originally Posted by s4g3
Oops didnt see the last part - so the format command hangs..

did u check dmesg and find out if there is anything wrong with that disk

why dont u umount the disk, run an fsck -y and then try


~Sage
# 7  
Old 03-25-2008
Patch information.

Hi, Could you please tell me how to find last applied patch with date on Solaris.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Confusing sed error message

This situation is extracted from a larger context. My intention for now is to escape the forward slashes in the path of a filename. (Ultimately the LINEs will come from a file.) while read LINE ; do sed 's/\//\\\//g' <<< "$LINE" # ok escaped=`sed 's/\//\\\//g' <<< "$LINE"` #... (12 Replies)
Discussion started by: Ralph
12 Replies

2. Shell Programming and Scripting

Confusing of some basic awk

1. increase file space first, double space a file: awk '1;{print ""}' I probably can understand it:print a blank line every time.But when I read triple space a file I am confused: awk '1;{print "\n"}' doesn't it meaning print a blank line every time too? 2. number each line of file, but... (6 Replies)
Discussion started by: hhdzhu
6 Replies

3. Shell Programming and Scripting

Ps command output confusing

Hi, I ran a script named cat item when I searched for this script using command PS I get two process . I don't understand this. Also this script has run for 15 minutes but the time is showing as 0:00:confused::confused: ps -ef | grep cat_item catmgr 4508 4486 0 05:10:29 ? 0:00... (5 Replies)
Discussion started by: TomG
5 Replies

4. Solaris

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... (4 Replies)
Discussion started by: pepi
4 Replies

5. Shell Programming and Scripting

Confusing find command option

Hi, I am a little bit confusing of using find command. Actually, I am planning to delete the files whatever the files are existing in the day before yesterday. So, I am writing the command like this. find . -name "*.txt" -ctime -2 { here I am confusing, if I will use +2 or +1 also I am... (5 Replies)
Discussion started by: nagraju.allam
5 Replies

6. Solaris

Need to Format 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

7. UNIX and Linux Applications

pikdev requirements confusing

I am looking at installing PiKdev which needs libqt3-mt and kdelibs4-dev. The installed package is qt-r1008952-i486-1 which claims to be a gui toolkit. find / -name "*libqt*" yields nothing with mt just a lot of support, compatible, and access widgets. Normally I would consider this a no go but... (0 Replies)
Discussion started by: slak0
0 Replies

8. Shell Programming and Scripting

Confusing me......!!!!!!

Hiii... There... I am making a Script in which I am taking the value of a variable "var" through key board. But I want, if no values are supplied for "var" for more than 5 seconds then script shuld automatically exit.Script is as follow : #cat abc #!/bin/bash echo "Enter Your Choice : "... (4 Replies)
Discussion started by: prashantshukla
4 Replies

9. Shell Programming and Scripting

Confusing Error

Hi all, Just subscribed to this forum. Not a regular user of Unix.:) I did the following: We have a directory structure /a/b/c5/ Where c5 is the only directory inside b. export ANOOP=/a/b/c*/ echo $ANOOP=/a/b/c5/ I have to create a symbolic link to anoop.txt in the directory... (2 Replies)
Discussion started by: Pankajakshan
2 Replies
Login or Register to Ask a Question