当前位置: 技术问答>linux和unix
如何访问另一块linux硬盘?
来源: 互联网 发布时间:2015-08-26
本文导语: 因为刚接触linux,有一台主机的linux7启动不了了,现用一块新硬盘(IDE)装一Redhat 7.1, 将原硬盘(scsi)也挂在电脑上,但不知从哪里可以访问到原硬盘的资料? 我用dmesg查出来有下面一段,但看不懂: . . . . NET4: Linux TCP/I...
因为刚接触linux,有一台主机的linux7启动不了了,现用一块新硬盘(IDE)装一Redhat 7.1,
将原硬盘(scsi)也挂在电脑上,但不知从哪里可以访问到原硬盘的资料?
我用dmesg查出来有下面一段,但看不懂:
.
.
.
.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem).
SCSI subsystem driver Revision: 1.00
(scsi0) found at PCI 1/4/0
(scsi0) Wide Channel A, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 396 instructions downloaded
(scsi1) found at PCI 1/4/1
(scsi1) Wide Channel B, SCSI ID=7, 32/255 SCBs
(scsi1) Downloading sequencer code... 396 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.4/5.2.0
scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.4/5.2.0
Vendor: IBM Model: DDYS-T09170N Rev: S80D
Type: Direct-Access ANSI SCSI revision: 03
Attached scsi disk sda at scsi0, channel 0, id 6, lun 0
(scsi0:0:6:0) Synchronous at 160.0 Mbyte/sec, offset 63.
SCSI device sda: 17916240 512-byte hdwr sectors (9173 MB)
sda: sda1 sda2
VFS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=3
Trying to unmount old root ... okay
.
.
.
从上面看应该是系统监测到了,但我该如何或到哪里去访问该scsi硬盘?
谢谢!
将原硬盘(scsi)也挂在电脑上,但不知从哪里可以访问到原硬盘的资料?
我用dmesg查出来有下面一段,但看不懂:
.
.
.
.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem).
SCSI subsystem driver Revision: 1.00
(scsi0) found at PCI 1/4/0
(scsi0) Wide Channel A, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 396 instructions downloaded
(scsi1) found at PCI 1/4/1
(scsi1) Wide Channel B, SCSI ID=7, 32/255 SCBs
(scsi1) Downloading sequencer code... 396 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.4/5.2.0
scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.2.4/5.2.0
Vendor: IBM Model: DDYS-T09170N Rev: S80D
Type: Direct-Access ANSI SCSI revision: 03
Attached scsi disk sda at scsi0, channel 0, id 6, lun 0
(scsi0:0:6:0) Synchronous at 160.0 Mbyte/sec, offset 63.
SCSI device sda: 17916240 512-byte hdwr sectors (9173 MB)
sda: sda1 sda2
VFS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=3
Trying to unmount old root ... okay
.
.
.
从上面看应该是系统监测到了,但我该如何或到哪里去访问该scsi硬盘?
谢谢!
|
fdisk -l
mount /dev/sd** mountpath
mount /dev/sd** mountpath