LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2006, 09:55 PM   #1
harryco
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
Mount 2nd HD in Toshiba SG10


I have a customer with a Toshiba Magnia SG10 appliance server running Linux. Someone blocked the 8282 port and the system is accessible. Toshiba does have a bulletin to deal with this:
www.csd.toshiba.com/cgi-bin/tais/su/su_sc_dtlView.jsp?soid=139008&moid=119519&BV_SessionID=@@@@0894874769.1162003369@@@@&BV_EngineID=ccc eaddjemdkiikcgfkceghdgngdgmm.0&ct=SB[/url]

The drive is not accessible through telnet.

In this case their response is:
The assumption here is that telnet access is still available. If telnet is not available, the next suggestion would be to boot from a second SG10 hard disk, telnet into that one, and mount the problematic hard disk. Once mounted, the firewall.custom file on the mounted drive can be edited as described above. The fixed disk can then be booted from and port 8282 should be accessible again.

I have the system up with a good drive and the problematic drive is in the second drive slot.

My urgent need is to know how to mount the second drive and then how to change to that drive to change the firewall.custom file stated in their bulletin.

I'm not sure on which /dev/? the 2nd drive would be and then to make sure the change is made on that drive and not the other.

There are needed files on the drive that, of course, were not backed-up.

Thanks!

HK

Last edited by harryco; 10-27-2006 at 09:56 PM.
 
Old 10-28-2006, 03:28 PM   #2
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
Which /dev/... file it is on will depend on the hardware/bios setup of your machine. A first guess would be that the one you want, once booted into a replacement hard drive, is on /dev/hdb. Try
Code:
fdisk -l
as root, to give you a list of hard drives and the partitions on them. Hopefully you know something about the filesystem(s) used on the 'problematic disk' so you would then be able to mount the partition on a temporary directory and have a look at what is there:
Code:
mkdir /mnt/temp1
mount -t ext2 /dev/hdb1 /mnt/temp1
where ext2 is the filesystem - change to ext3, jfs, rfs, or whatever was used.
Then have a look, see what's on the disk, there must be something that you can use to identify it:
Code:
cd /mnt/temp1
ls -l
You can find out which device your current active (replacement hard drive) file system is on, just by:
Code:
mount
without any parameters. That will tell you which drive *not* to touch.

How far does that get you?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I mount a 2nd CD drive??? phreakshew Linux - Newbie 22 09-05-2005 07:51 PM
How do i mount a partition on a 2nd HD? Linux_Nooby Linux - Newbie 5 03-22-2005 05:41 PM
Newer OS for the SG10 dayala Linux - Newbie 0 11-02-2004 10:04 AM
2nd display on FC2 with toshiba portege...? chunlee Linux - Laptop and Netbook 0 07-01-2004 12:03 PM
Toshiba Satellite S202 Laptop and Corel Linux 2nd Edition jesusfreak239 Linux - Software 6 06-12-2001 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration