LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mount 2nd HD in Toshiba SG10 (https://www.linuxquestions.org/questions/linux-software-2/mount-2nd-hd-in-toshiba-sg10-496245/)

harryco 10-27-2006 09:55 PM

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

bernied 10-28-2006 03:28 PM

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?


All times are GMT -5. The time now is 02:39 AM.