Mounting a new disk on linux server


 
Thread Tools Search this Thread
Operating Systems Linux Mounting a new disk on linux server
# 15  
Old 11-30-2010
I wouldn't trust that unless you were sure. Ask how large the disk was supposed to be, and look for an unused disk with that capacity.
# 16  
Old 11-30-2010
I'll do that when he gets back.
Thanks for all your help.
# 17  
Old 02-01-2011
I know this is an old post but I finally had a chance to run the scan script that was supplied and it stated there were no new devices to be found...

I do see the sdc as being 1.4 TB:

Code:
 
RCWLO-ODS10g:/dev # fdisk /dev/sdc
The number of cylinders for this disk is set to 171009.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sdc: 1406.6 GB, 1406601789440 bytes
255 heads, 63 sectors/track, 171009 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      171009  1373629761   83  Linux

which is the size of the disk added but I don't see how I am supposed to mount it.

In the fstab the other disks are mounted with the /dev/disk/by-id/ but I do not know what I am supposed to do now to get this disk mounted.

Code:
RCWLO-ODS10g:/dev # ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root  9 Nov 27 08:01 edd-int13_dev80 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 27 08:01 edd-int13_dev80-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 27 08:01 edd-int13_dev80-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 27 08:01 edd-int13_dev80-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 27 08:01 edd-int13_dev80-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Nov 27 08:01 edd-int13_dev81 -> ../../sdb
lrwxrwxrwx 1 root root 10 Nov 27 08:01 edd-int13_dev81-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Nov 27 08:01 edd-int13_dev81-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Nov 27 08:01 edd-int13_dev81-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 Nov 27 08:01 scsi-3600508b4001046910000800001110000 -> ../../sdd
lrwxrwxrwx 1 root root 10 Nov 27 08:01 scsi-3600508b4001046910000800001110000-part1 -> ../../sdd1
lrwxrwxrwx 1 root root  9 Nov 27 08:01 scsi-3600508e0000000004d55ca66b1287901 -> ../../sda
lrwxrwxrwx 1 root root 10 Nov 27 08:01 scsi-3600508e0000000004d55ca66b1287901-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Nov 27 08:01 scsi-3600508e0000000004d55ca66b1287901-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Nov 27 08:01 scsi-3600508e0000000004d55ca66b1287901-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Nov 27 08:01 scsi-3600508e0000000004d55ca66b1287901-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Nov 27 08:01 scsi-3600508e000000000b855ee6ec6289509 -> ../../sdb
lrwxrwxrwx 1 root root 10 Nov 27 08:01 scsi-3600508e000000000b855ee6ec6289509-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Nov 27 08:01 scsi-3600508e000000000b855ee6ec6289509-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Nov 27 08:01 scsi-3600508e000000000b855ee6ec6289509-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 Nov 27 08:02 usb-American_Megatrends_Inc._Virtual_Cdrom_Device -> ../../sr0
lrwxrwxrwx 1 root root  9 Nov 27 08:02 usb-American_Megatrends_Inc._Virtual_Floppy_Device -> ../../sde


Any help would be appreciated again.

Thanks
# 18  
Old 02-01-2011
Quote:
Originally Posted by jamie_collins
I know this is an old post but I finally had a chance to run the scan script that was supplied and it stated there were no new devices to be found...

I do see the sdc as being 1.4 TB:

Code:
 
RCWLO-ODS10g:/dev # fdisk /dev/sdc
The number of cylinders for this disk is set to 171009.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sdc: 1406.6 GB, 1406601789440 bytes
255 heads, 63 sectors/track, 171009 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      171009  1373629761   83  Linux

which is the size of the disk added but I don't see how I am supposed to mount it.
First, df -h to make sure it's not mounted anywhere already. The first column will show devices already mounted.

Then mount /dev/sdc1 /path/to/wherever/i/want/to/mount/it

If you want it to mount on boot you should put it in /etc/fstab
# 19  
Old 02-01-2011
All the other entries all have the device by the

Code:
 
/dev/disk/by-id/scsi-3600508e000000000b855ee6ec6289509-part*

Is this going to cause issues if I add it referencing just the device name /dev/sdc ?

Thanks

---------- Post updated at 12:43 PM ---------- Previous update was at 11:45 AM ----------

K I think the sdc disk is a mirror for sdd. Mounted it and it contains exactly the same data.

The only other option I see is the sde disk in /dev/.
It's not mounted but when I do a fdisk /dev/sde it says:

Code:
 
RCWLO-ODS10g:/dev # fdisk /dev/sde
Unable to open /dev/sde

Not sure what my next step is now.

Thanks for all replies.
# 20  
Old 02-04-2011
The installed hardware still isn't working for whatever reason. I really can't tell why from here but it's probably either driver or hardware related.
# 21  
Old 02-12-2011
simply fdisk -l is the way to find out which are the new disk. If the disk are presented from SAN they wont have any partion table and hence doing fdisk /dev/<sd*> will make it clear. If you need to reboot the server from viewing the disks there is some issue with the storage system or the way it is being presented.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Mounting Windows Share to Linux Server

Hi Folks - I need to mount a Windows Share to a Linux server. What is the best/easiest way to do this? Is this 'how-to' guide accurate: How to Share Files Between Windows and Linux Or is there a better method you could share? Thanks! (8 Replies)
Discussion started by: SIMMS7400
8 Replies

2. Linux

Mounting windows drive into linux server

Dear Experts, My buissness requierment is to place some automated files in Windows server, Now Can you help me to map the Windows folder into Linux server. Windows Details:-windows 2003 Linux Details:- $ uname -a Linux testdb.mawarid.local 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007... (3 Replies)
Discussion started by: Mohammed Fareed
3 Replies

3. Ubuntu

Mounting a disk clone

I wasn't sure where to put this thread but since i use ubuntu for data recovery, I figured this is the best place. So, a friend passed me a 250G Western Digital hard disk the other day and said that his client needs to get her pictures off it. the problem: windows says it wants to reformat the... (13 Replies)
Discussion started by: old noob
13 Replies

4. Solaris

Mounting a Raw Disk

I am using Solaris 10. I have a raw device attached to my system which is /dev/md/rdsk/d91 I want to mount this as a disk with file system on a mount point /u05. Actually this raw device was earlier part of Oracle ASM. Now I have removed this disk from ASM, and want to use it as normal... (3 Replies)
Discussion started by: fahdmirza
3 Replies

5. UNIX for Advanced & Expert Users

Mounting SunSolaris Filesystem on Linux Ubuntu Server

Can someone please help me out here. I have SunSolaris server that has a ridiculous about of space on it. several hundred gigabytes of space. There are lots of partitions on this server that has at least 100Gs on them. I want to mount just one of these partitions on my Linux server so I can... (4 Replies)
Discussion started by: SkySmart
4 Replies

6. Solaris

Mounting disk at boot

Hi once more :p Yesterday I reinstalled Solaris OS and now I can not mount pcfs HDD SunOS unknown 5.10 Generic_142901-03 i86pc i386 i86pc and what has been added in /etc/vfstab is /dev/dsk/c1t0d0p1:c - /podaci - pcfs - yes rw But as I said , my disk is... (4 Replies)
Discussion started by: solaris_user
4 Replies

7. AIX

mounting aix disk under different OS

hi, is that possible? i installed one disk of a old rs/6000 in a linux machine. the problem seems to be the partition layout. linux fdisk tells me that aix disklabels are not supported, so the problem seems to be the partition layout, not the filesystem. does anybody know a way to access... (1 Reply)
Discussion started by: alex.blackbit
1 Replies

8. Shell Programming and Scripting

IInd Hard Disk Mounting Problem on 1st HDD On SCO UNIX Open Server

Hi Engg. ! :mad: I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies

9. Filesystems, Disks and Memory

Mounting second disk

I have connected up second hard drive to my Sparcstation5, touched /reconfigure. and now would like to know how to mount the hard drive. I am trying to access /etc/passwd file on second disk to change root passwd but after connecting drive; touching reconfigure. don't know how to go about accessing... (2 Replies)
Discussion started by: FattyLumpkin
2 Replies

10. UNIX for Dummies Questions & Answers

mounting disk problem

i am using Interactive Unix 4.1.1 and i have a disk from a another unix machine which is Unix Slackware 2.1 i'm having problem mounting the disk. it gives me an error message, ??? is there any solution to this ??? it say the disk has invalid file system (1 Reply)
Discussion started by: mharck29
1 Replies
Login or Register to Ask a Question