Mounting a new disk on linux server


 
Thread Tools Search this Thread
Operating Systems Linux Mounting a new disk on linux server
# 8  
Old 11-29-2010
Code:
 
RCWLO-ODS10g:~ # fdisk -l
Disk /dev/sda: 72.9 GB, 72999763968 bytes
255 heads, 63 sectors/track, 8875 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        2624    20972857+  83  Linux
/dev/sda3            2625        4583    15735667+  83  Linux
/dev/sda4            4584        8875    34475490   82  Linux swap / Solaris
Disk /dev/sdb: 145.9 GB, 145999527936 bytes
255 heads, 63 sectors/track, 17750 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        4178    33559753+  83  Linux
/dev/sdb2            4179        5484    10490445   83  Linux
/dev/sdb3            5485       17750    98526645   83  Linux
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
Disk /dev/sdd: 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/sdd1               1      171009  1373629761   83  Linux

OK. So I am pretty sure I can use sde as the new disk.
Do I need to run the mkfs now to create the sde1? Do you have the command exactly based on what my other disks look like?

Thanks for your help.
# 9  
Old 11-29-2010
Quote:
Originally Posted by jamie_collins
OK. So I am pretty sure I can use sde as the new disk.
That's an interesting conclusion given that I don't see sde listed in there at all, and it should be! If it somehow missed it, try fdisk -l /dev/sde
# 10  
Old 11-29-2010
Code:
RCWLO-ODS10g:~ # fdisk -l /dev/sde
RCWLO-ODS10g:~ #

Doesn't show up at all.
Again I will re-iterate I am not a unix admin. I still don't understand what I should be seeing when the new disk is presented to the server.

The sde shows up in:

Code:
 
RCWLO-ODS10g:/dev # ls sd*
sda  sda1  sda2  sda3  sda4  sdb  sdb1  sdb2  sdb3  sdc  sdc1  sdd  sdd1  sde
RCWLO-ODS10g:/dev #

I assumed the fdisk wouldn't report it until I have a partition set up on it?
# 11  
Old 11-29-2010
Quote:
Originally Posted by jamie_collins
I assumed the fdisk wouldn't report it until I have a partition set up on it?
It should show up no matter what. It might have a corrupt partition table or no partition table or a pre-existing partition table but it should at the very least show up and tell you what the disk's capacity is.

See if you can read from it. as root, dd if=/dev/sde of=/dev/null count=64. This is harmless.
# 12  
Old 11-29-2010
I noticed before the reboot my SAN mount was on sde1 and now it is on sdd1 which I am not sure why.

Code:
 
RCWLO-ODS10g:/dev # dd if=/dev/sde of=/dev/null count=64
dd: opening `/dev/sde': No medium found


Thanks
# 13  
Old 11-29-2010
That's not your new disk then, or if it is, something's wrong with it. dd doesn't care if the disk's been formatted.
# 14  
Old 11-30-2010
Hmmmmmm. Since the reboot it seems that the disk mappings have changed and I'm not sure what the admin did for the new disk.

How about the sdc disk. It doesn't show up in the df -k.
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