Sponsored Content
Operating Systems Linux Mounting a new disk on linux server Post 302473781 by jamie_collins on Monday 22nd of November 2010 11:03:30 AM
Old 11-22-2010
Mounting a new disk on linux server

Hi All.
I am pretty new when it comes to Linux. My admin left on vacation and has presented 2 new disks to the server but they won't be seen until I can reboot the box this weekend.
Once that happens I need the steps to make it available to my server and mount them as new filesystems. One will be for oracle data and the other for backup data.
Can anyone provide me with the steps neeed to complete this?
Here is some info I have on the current setup:

Code:
 
RCWLO-ODS10g:/ # uname -a
Linux RCWLO-ODS10g 2.6.16.60-0.42.8-smp #1 SMP Tue Dec 15 17:28:00 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux

Code:
 
RCWLO-ODS10g:/ # df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdb3             98523580  56628620  41894960  58% /
udev                  40973400       188  40973212   1% /dev
/dev/sde1            1373587836 1142253616 231334220  84% /SAN
/dev/sda1               104376     41280     63096  40% /boot
/dev/sda2             20972152   6042020  14930132  29% /home
/dev/sdb1             33558712     66016  33492696   1% /tmp
/dev/sdb2             10490104   8796252   1693852  84% /u05
/dev/sda3             15735128    327916  15407212   3% /var


Code:
 
RCWLO-ODS10g:/ # cat /etc/fstab
/dev/disk/by-id/scsi-3600508e000000000b855ee6ec6289509-part3 /                    reiserfs   acl,user_xattr        1 1
/dev/disk/by-id/scsi-3600508b4001046910000800001110000-part1 /SAN                 reiserfs   defaults              1 2
/dev/disk/by-id/scsi-3600508e0000000004d55ca66b1287901-part1 /boot                reiserfs   acl,user_xattr        1 2
/dev/disk/by-id/scsi-3600508e0000000004d55ca66b1287901-part2 /home                reiserfs   acl,user_xattr        1 2
/dev/disk/by-id/scsi-3600508e000000000b855ee6ec6289509-part1 /tmp                 reiserfs   acl,user_xattr        1 2
/dev/disk/by-id/scsi-3600508e000000000b855ee6ec6289509-part2 /u05                 reiserfs   acl,user_xattr        1 2
/dev/disk/by-id/scsi-3600508e0000000004d55ca66b1287901-part3 /var                 reiserfs   acl,user_xattr        1 2
/dev/disk/by-id/scsi-3600508e0000000004d55ca66b1287901-part4 swap                 swap       defaults              0 0
proc                            /proc                   proc            defaults                        0 0
sysfs                           /sys                    sysfs           noauto                          0 0
debugfs                         /sys/kernel/debug       debugfs         noauto                          0 0
usbfs                           /proc/bus/usb           usbfs           noauto                          0 0
devpts                          /dev/pts                devpts          mode=0620,gid=5                 0 0

Thanks
 

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
RESIZE_REISERFS(8)					      System Manager's Manual						RESIZE_REISERFS(8)

NAME
resize_reiserfs - resizer tool for the ReiserFS filesystem SYNOPSIS
resize_reiserfs [ -s [+|-]size[K|M|G] ] [ -j dev ] [ -fqv ] device DESCRIPTION
The resize_reiserfs tool resizes an unmounted reiserfs file system. It enlarges or shrinks an reiserfs file system located on a device so that it will have size bytes or size=old_size +(-) size bytes if the + or - prefix is used. If the -s option is not specified, the filesystem will be resized to fill the given device. The size parameter may have one of the optional modifiers K, M, G, which means the size parameter is given in kilo-, mega-, gigabytes respectively. The resize_reiserfs program does not manipulate the size of the device. If you wish to enlarge a filesystem, you must make sure you expand the underlying device first. This can be done using cfdisk(8) for partitions, by deleting the partition and recreating it with a larger size (assuming there is free space after the partition in question). Make sure you re-create it with the same starting disk cylinder as before! Otherwise, the resize operation will certainly not work, and you may lose your entire filesystem. The resize_reiserfs program allows to grow a reiserfs on-line if there is a free space on block device. If you wish to shrink a reiserfs partition, first use resize_reiserfs to shrink the file system. You may then use cfdisk(8) to shrink the device. When shrinking the size of the device, make sure you do not make it smaller than the reduced size of the reiserfs filesystem. OPTIONS
-s [+|-]size Set the new size in bytes. -j dev Set the journal device name. -f Force, do not perform checks. -q Do not print anything but error messages. -v Turn on extra progress status messages (default). RETURN VALUES
0 Resizing successful. -1 Resizing not successful. EXAMPLES
The following example shows how to test resize_reiserfs. Suppose 2Gb reiserfs filesystem is created on the device /dev/hda8 and is mounted on /mnt. For shrinking the device we need to unmount it first, then run resize_reiserfs with a size parameter (in this case -1Gb): df umount /mnt resize_reiserfs -s -1G /dev/hda8 mount /dev/hda8 /mnt df /mnt AUTHOR
This version of resize_reiserfs has been written by Alexander Zarochentcev <zam@namesys.com>. BUGS
Please report bugs to the ReiserFS developers <reiserfs-dev@namesys.com>, providing as much information as possible--your hardware, kernel, patches, settings, all printed messages; check the syslog file for any related information. SEE ALSO
cfdisk(8), reiserfsck(8), debugreiserfs(8) Reiserfsprogs-3.6.21 January 2009 RESIZE_REISERFS(8)
All times are GMT -4. The time now is 04:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy