Solved

Does anyone know how to recover a dead Brocade 3900?  Linux is there but that's about it.

Posted on 2008-06-18
15
1,409 Views
Last Modified: 2013-11-14
I purchased an EMC DS-32B2 (Brocade 3900) second hand and have been having errors regarding 'no space left on device.'  So, I began putting things back to defaults and did a reset and now I have a system that will only boot into Linux.  Anyone know how to rebuild this thing?

Thanks,

JoeO
0
Comment
Question by:msschelp
  • 10
  • 5
15 Comments
 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 21828024
Log in as root. Run a df on the files system. If you get something similar to the below, the file system is full and you must make some space:

1k-blocks Used Available Use% Mounted on

/dev/root 120112 55408 64704 46% /

/dev/hda2 120128 54768 65360 46% /mnt

If the file system free space is > 55-60%, the file system is filling fast.

To make some space, run the following:

Run savecore command and choose the option to delete core files.

Verify that the file system is no longer full by running the df command (see above)

If free space is less than 95 percent, you'll need to clean up log files to make more space (You can also delete the Apache web access logs: rm -f /var/log/webtools/access_log*). The flash file system should have a minimum of 80% free space. EMC have a log clean-up script that automates the process for you. See EMC Knowledgebase article emc75410 ay http://powerlink.emc.com for more information.

Finally, update the Brocade OS to a minimum of 4.2.0b or later to permanently fix the problem (the issue was fixed in 4.1.1b, but this version wasn't 'officially' available to the field).


0
 

Author Comment

by:msschelp
ID: 21831852
Hi and thanks for responding.  I've already deleted the core dump files.  I believe the actual Brocade OS is gone but I'll I will try the other things you mentioned and let you know.  Do you know how to get the Brocade tarball to reload the OS if it's gone?

Thanks,
0
 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 21837342
That will be tricky as (as you may be aware) support for the switches is provided by teh SAN manufacturers - and if you don't have a maintenance contract then they're unlikely to provide the software.

Having said that, it's unlikely that the OS is gone...
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

Author Comment

by:msschelp
ID: 21887251
Hi, just getting back to this.  I do not have the 'df' command when I boot Linux.  If I do an 'ls' command in root I have no files.  Am I toast?  
0
 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 21889541
Are you logged in as root? Do you any directories at all?
0
 

Author Comment

by:msschelp
ID: 21902951
Hi meyersd,

So I am attaching a file, I was hoping you can take a minute to see what you think.  I was wrong regarding no root files.  If I cd to / there are many files, none in the /root directory.  Not sure if any should be there.  So if I mount /dev/hda2 /mnt I get a directory /mnt and it seems all my Brocade files are there.  I have no space left on /dev/root.  When I try to boot I get messages stating no space and bad or nonexistent /etc/.host file and other issues.  It tell me to run repairfs.sh which i do but the problem remains.  If I make room will this thing come back?  What files can I remove?

Thx,

JoeO
EMC-DS32-B2-console-capture.txt
0
 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 21903990
/root is the root home directory. I'd not expect to see files in there - so that's normal behaviour.

Do this: rm -f /var/log/webtools/access_log*
You can also have a look at /var/log and remove old event log files such as messages

Then run savecore (you'll have to find it if ithe system won't let you run it from the shell prompt. /bin is a good place to start) and chose the option to delete core files.

I've done some more research. Issues with /etc/.hosts and /etc/static-routes.options are a result of a full file system - they may have been overwritten - but the first thing you *must* do is make some space on the file system. Other places to have a look for files you can delete are /tmp and /var/tmp

0
 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 21903991
Once you've got at least 70% free space, you can start a firmware download.
0
 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 21904003
BTW - the reason that later revisions of firmware don't have this issue is that they install a cron job that cleans up log and temporary files...
0
 

Author Comment

by:msschelp
ID: 21906603
Hi and thanks for responding.  Gotcha about the /root being root's home directory, should have known that.  I've gone and deleted the /var/webtools log files already, they weren't very big so I'm still at 97%.  I won't be by the switch for a couple of days but will look for other var/log files.  Can I delete anything in the var/logs and feel safe?  Will the other issues such as the 'both boot devices are inconsistent' and 'Cannot find the default password file!' when trying to change the default passwords resolve themselves when there's space?  

One more thing......do you have experience with McDATA switches?  I've inherited an EMC DS32-M2 and I need a way to set its passwords to default.  Oh the pitfalls of ebay!!  

Thanks again, appreciate all your help!!

JoeO
0
 
LVL 30

Accepted Solution

by:
Duncan Meyers earned 500 total points
ID: 21912390
>Will the other issues such as the 'both boot devices are inconsistent' and 'Cannot find the default password file!' when trying to change the default passwords resolve themselves when there's space?  
Yep - or at least, that's my understanding of it. I haven't hit this bug myself, but the KB articles seem pretty relaxed about it. I believe that the switch restores the hda1 files from hda2 auto-magically.

>One more thing......do you have experience with McDATA switches?  I've inherited an EMC DS32-M2 and I need a way to set its passwords to default.  Oh the pitfalls of ebay!!  
:-) Easy!

To reset the password, you'll need the null modem serial cable. Connect the cable to the serial port on the switch. Open Hyperterminal (download the latest revision from http://www.hilgraeve.com if you haven't already) and connect at 57600 baud, 8, none, 1. Hit enter a couple of times and you'll get a prompt (I don't recall exactly what that is). Use either "level-2" or "redips" as the password. You'll be presented with a menu - you should now be able to erase NVRAM to factory default. Default username and password is Administrator/Administrator - again, it's case sensitive. While you're in there, set the IP address, mask and gateway of the switch using IPCONFIG


0
 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 21912435
>Can I delete anything in the var/logs and feel safe?
Pretty much. Don't touch ./dmesg or ./messages, but messagesxx can go. Check the dates on the files - if it's old, then it can go.
0
 

Author Comment

by:msschelp
ID: 21915580
Hi, the McDATA is back online.  The password 'redips' did the trick.  Turns out this is an older 3032 and it's only a 1G switch.  I found the default login was Administrator / password.  I will follow up with the DS32-B2 / Brocade 3900 tomorrow and report back.  Thanks again, I can see why you're the #2 Expert!!
0
 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 21921122
:-)


No worries!
0
 
LVL 30

Expert Comment

by:Duncan Meyers
ID: 22624708
Thanks! Glad I could help.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

773 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