stepping through newfs


 
Thread Tools Search this Thread
Operating Systems Solaris stepping through newfs
# 1  
Old 08-16-2010
stepping through newfs

On a RAID-5 solaris 9 server, we replaced a bad disk.

Upon boot up, a mount point failed:
vxvm:vxvol: ERROR: Volume IQ_Staging is not startable; some subdisks are
unusable and the parity is stale

With Sun tech support, we tried vxvol start and vxvol resync, but it remained detached. An fstype on IQ_Staging came back bad. Sun said I need to recreate the filesystem.

I believe I missed an ensuing step.

I used the format command to label the new disk, but got this error when I used the newfs command:
# newfs /dev/vx/rdsk/rootdg/IQ_Staging
newfs: construct a new file system /dev/vx/rdsk/rootdg/IQ_Staging: (y/n)? y
read error on sector 622321663: No such device or address
#

Did I miss something?
# 2  
Old 08-16-2010
Seems to be an issue with disk. Can you make smaller size file system or maybe you can do calculation and give the extend before the sector where you are getting the read error
# 3  
Old 08-17-2010
Can you list the steps you performed, once a volume is created successfully there shouldn't be any issues.
# 4  
Old 08-17-2010
The steps after seeing the bootup error, after trying vxvol restart and resync, and seeing that the fstype showed problems? Just this:
Format:
Selected Disk 2.
Select Label.
exit out.
Then tried the newfs command above.

I have since used the vxvol with 2 added switches (-o and bg): vxvol -o bg -f start, which appears to be working. I was able to use the newfs command afterwards and it is syncing the drive now.

I hope this gets me out of the woods. If it is successful, I just need to mount the drive.
Thanks for the follow-up.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl Debug Stepping Answering Questions

I am new to perl and want to get a little better understanding of debugging code in perl. I have a perl script that has questions to be answered like: he following PERL modules are recommended: Crypt::DES Crypt::PasswdMD5 IO::Pty Net::Write::Layer2 String::CRC32 Attempt to install... (0 Replies)
Discussion started by: metallica1973
0 Replies

2. SCO

Stair-stepping printing

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name an ip-adress. I have a lot of trouble, the printer do stair-stepping. I know it is because of the translation LF to CR/LF. But it is impossible to set this correct in... (2 Replies)
Discussion started by: haezeban
2 Replies

3. Solaris

difference between mkfs and newfs

hi what is the difference between mkfs and newfs (2 Replies)
Discussion started by: madhudeepan
2 Replies

4. Solaris

newfs

Hi, can someone please help me create a newfs on my unix server ? thankyou venhart (7 Replies)
Discussion started by: venhart
7 Replies

5. Linux

Stair stepping

Is there a command line flag to lpr or a utility similar to the Unix 'xtod' command to fix stair stepping when printing? Under Unix I would: # cat textfile | xtod | lp -d lineprinter Anything like that for linux? Thanks (1 Reply)
Discussion started by: lochraven
1 Replies

6. Shell Programming and Scripting

Rsync script in cron from stepping on itself

I have the following rsync script that I use for syncing MySQL files from one server to another. I run the script at 20 minutes past every second hour in cron. I want to make sure that the script completes in it's entirety before it is set to kick off again. For example, when the script starts at... (3 Replies)
Discussion started by: sunsysadm2003
3 Replies

7. Solaris

why cant i do a newfs?

what do you make of this ?? all I want to do is newfs a slice of disk..... # uname -a SunOS myhost 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V240 # cat /etc/release Solaris 10 8/07 s10s_u4wos_12b SPARC Copyright 2007 Sun Microsystems, Inc. All... (4 Replies)
Discussion started by: robsonde
4 Replies

8. UNIX for Dummies Questions & Answers

Scripting stepping stones.

It's safe to say that I have had no scripting / programming experience before. I took a job as an AIX / Linux administrator, and I have found myself up to my ears in bash scripting. I'm starting to really catch on, I've become a casual linux user, to a hopeful future power user. I was... (2 Replies)
Discussion started by: syndex
2 Replies

9. UNIX for Dummies Questions & Answers

newfs, mounting, new partitions, HELP!!

Looking for a good online primer/intro to creating a new file system, mounting, and eventually using NFS. Do you use newfs then mount or mount then newfs, how do you work with a new partition to create a new file system.... it's all a bit confusing. The man pages are a little too verbose and... (1 Reply)
Discussion started by: charliewade
1 Replies

10. UNIX for Dummies Questions & Answers

stepping through ascii file

How can one step through an ascii file line by line looking for a word and then pull out the whole section that the word is in. I have a project working Oracles tkprof utility where I am trying to look for a word and need to pull out the section of the ascii file that the word is in. I have not... (12 Replies)
Discussion started by: rehoboth
12 Replies
Login or Register to Ask a Question