Sponsored Content
Operating Systems Linux Mounting a new disk on linux server Post 302473828 by mark54g on Monday 22nd of November 2010 01:38:35 PM
Old 11-22-2010
You do not have to reboot for the disks to be seen. You can either get the script called "rescan-scsi-bus.sh" from the web here:
http://www.garloff.de/kurt/linux/res...si-bus.sh-1.25

or try this:

Code:
for i in /sys/class/scsi_host/host*; do; echo "- - -" > /sys/class/scsi_host/$i/scan;
done;

I would try the script (make sure you run a chmod +x) and run the script like this
Code:
chmod +x rescan-scsi-bus.sh
./rescan-scsi-bus.sh -l -w -c

Now... for Oracle, if it will be for ASM it will still require a partition. You should learn some of the commands for fdisk from here:

fdisk(8): Partition table manipulator for - Linux man page

and then create the associated partitions, but not put any file systems on them. If by backup, you mean dumps of the tables, then you will need a filesystem

mkfs.<filesystemtype> should get you started. Many people use ext3, but any number of file system types should work, such as jfs, xfs, etc.

How to: Formatting Linux Filesystem

Based on the output, it appears you are running SUSE, is this correct? Yast would help you with a lot of this if you are.

---------- Post updated at 01:38 PM ---------- Previous update was at 01:36 PM ----------

Also, since you are using SAN based storage, and probably using some sort of multi-pathing (SANs, by the way they work, tend to show you multiple paths to the storage, and the operating system confuses them with actual drives), you should reference your drives like they are in /etc/fstab

Using either devmapper or /dev/disk/by-id rather than the sd? designation.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
MKFS.MINIX(8)						Linux System Administrator's Manual					     MKFS.MINIX(8)

NAME
mkfs.minix - make a Linux MINIX filesystem SYNOPSIS
mkfs.minix [-c|-l filename] [-n namelength] [-i inodecount] [-v] device [size-in-blocks] DESCRIPTION
mkfs.minix creates a Linux MINIX file-system on a device (usually a disk partition). The device is usually of the following form: /dev/hda[1-8] (IDE disk 1) /dev/hdb[1-8] (IDE disk 2) /dev/sda[1-8] (SCSI disk 1) /dev/sdb[1-8] (SCSI disk 2) The size-in-blocks parameter is the desired size of the file system, in blocks. It is present only for backwards compatibility. If omit- ted the size will be determined automatically. Only block counts strictly greater than 10 and strictly less than 65536 are allowed. OPTIONS
-c Check the device for bad blocks before creating the file system. If any are found, the count is printed. -n namelength Specify the maximum length of filenames. Currently, the only allowable values are 14 and 30. The default is 30. Note that kernels older than 0.99p7 only accept namelength 14. -i inodecount Specify the number of inodes for the filesystem. -l filename Read the bad blocks list from filename. The file has one bad block number per line. The count of bad blocks read is printed. -v Make a Minix version 2 filesystem. EXIT CODES
The exit code returned by mkfs.minix is one of the following: 0 No errors 8 Operational error 16 Usage or syntax error SEE ALSO
mkfs(8), fsck(8), reboot(8) AVAILABILITY
The mkfs.minix command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. Util-linux 2.6 2 July 1996 MKFS.MINIX(8)
All times are GMT -4. The time now is 08:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy