On February 5, 2004 04:33 pm, Edward King wrote: > I have two hard disk.I installed Red Hat 7.2 into the first hard disk,then > I want to visited the data of second hard disk,I know I need to use command > like follow : #mount /dev/sda /mnt/seconddisk > > But I don't know the device number of second disk: > #mount /dev/??? /mnt/seconddisk > > How to know it? What commands to use? > Any idea will be appreciated! > > Edward Hi Edward, You imply both drives are scsi. To see what drives and partitions are on the system use: fdisk -l You should see something like: (as root)# fdisk -l <snip...> Device Boot Start End Blocks Id System /dev/hdg1 * 1 203 102280+ 83 Linux /dev/hdg2 204 38144 19122264 83 Linux /dev/hdg3 38145 39704 786240 82 Linux swap <snip...> Device Boot Start End Blocks Id System /dev/hde1 * 1 13 104391 83 Linux /dev/hde2 14 2624 20972857+ 83 Linux /dev/hde3 2625 4582 15727635 83 Linux /dev/hde4 4583 9729 41343277+ f Win95 Ext'd (LBA) /dev/hde5 4583 4713 1052226 83 Linux /dev/hde6 4714 4815 819283+ 82 Linux swap That shows I have 2 ide drives (/dev/hdg & /dev/hde). If you have two scsi drives you'll see something containing similar to: /dev/sda & /dev/sdb (the last letter (a, b, c...) may vary if you have other, non-disk, devises.) The next digit is the partition, starting at 1. so /dev/hda2 is the second partition on the first physical disk. If they are both scsi, to access the second disks first partition from /mnt/disk2, and if it is ext3, you would want to try: mount -t ext3 /dev/sdb1 /mnt/disk2 As long as the mount point directory exists (/mnt/disk2 in the example) and the filesystem is correct (try with no -t option if your not sure or if it is ext3), then that should work. You'll need to be root. Once it is working, you can add it to fstab. Hope that helps -- Pete Nesbitt, rhce -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list