Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
1,431 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 2000 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
Suggested Courses

688 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