08-04-2006
Quote:
Originally Posted by rhfrommn
The first thing you need to do is make sure the system is seeing the new drive. On a sparc box you'd use the format command, if you're using Solaris x86 I'm not sure if format is there, you may have a different command.
The new disk will have a name something like c0t1d0. You use the format command to create a partition, I'd recommend making one big partition (probably c0t1d0s0) with all the space for a data disk like you're wanting - obviously you can choose to do it different if you prefer multiple partitions. In the format command you can choose your new disk, then the menus will give you the options you need to format the partition.
Once you have your partition made, do a reconfigure boot with reboot -- -r. Then you'll have a device entry like /dev/c0t1d0s0. Use the mkfs command to make a filesystem on it. After that you'd just mount it with the mount command, and add a line to /etc/vfstab so it is mounted on boot from now on. You probably just want to mount the new drive on /mnt by hand and copy your home directory stuff over first time, then set up /etc/vfstab to mount it on /home once you're done with they copying. You can't have both drives mounted on /home at the same time.
For details of the commands I'm talking about see the manpages for format, mkfs, and mount.
Good luck.
Thanks a lot, imgoing to give this a try. i'll report back the results.
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am taking an old xenix drive and installing it in a recent SCO Build Server. I have gone through the process of running mkdev hd twice since the drive is a SCSI then proceed to run mkdev fs and when I attempt to add one of the shown partitions I get the following:
fsck: cannot determine... (1 Reply)
Discussion started by: justenglabs
1 Replies
2. UNIX for Dummies Questions & Answers
How do I copy the master boot record from one harddrive to another or how to install just the MBR? (7 Replies)
Discussion started by: shorty
7 Replies
3. Shell Programming and Scripting
I have a file like below. The separator between reconds is ">" Each record consists of 2 numbers separated by a space.
I want to write an awk script that copies the second number and puts it in the third column. :rolleyes:
>
10 0
13 5.92346
16 10.3106
19 13.9672
22 16.9838
25... (5 Replies)
Discussion started by: kristinu
5 Replies
4. Shell Programming and Scripting
Hi Forum.
I'm struggling on this relatively easy request to add additional 4 0's to an existing text in a file (whenever I see the pattern -# where # represents any number) using sed command while preserving the rest of the text in the files.
Original Text:
$DBConnection_EDW=SAS2EDW... (5 Replies)
Discussion started by: pchang
5 Replies
5. AIX
Hi All,
We have a server at a client site running AIX 5.3, which we just up the RAM to 32GB, from initially 16GB (if I'm not mistaken).
This server is our Application server running J2EE applications on top of Oracle Internet Application Server. Recently we encountered one of the batch jobs... (12 Replies)
Discussion started by: a_sim
12 Replies
6. Solaris
Hello,
I cant get my blade box to boot off the harddrive after installing solaris 10.I can get to a root prompt after issuing "boot cdrom -s".I tried booting off disk0 and disk1,but I get "the file just loaded does not seem to be executable".Thanks for any help.:wall: (4 Replies)
Discussion started by: chucky
4 Replies
7. Shell Programming and Scripting
Hi,
I have the following file, I'd like to add an additional blank field to this file
This is a tab delimited file, I have tried the same thing on excel, but looking for a unix solution.
Here is my input:
Country Postal Admin4 StreetBaseName StreetType
HUN 2243 Kóka Dózsa György ... (3 Replies)
Discussion started by: ramky79
3 Replies
8. Red Hat
I'm trying to add 6 more hard drives to my RAID array, none of the drives are foreign, they won't be replacing any drives either. I just need to add them to the RAID array. I can't seem to get them added, what am I missing?
---------- Post updated 08-03-12 at 12:28 PM ---------- Previous... (0 Replies)
Discussion started by: eccentricson
0 Replies
LEARN ABOUT DEBIAN
gnome2::vfs::drive
Gnome2::VFS::Drive(3pm) User Contributed Perl Documentation Gnome2::VFS::Drive(3pm)
NAME
Gnome2::VFS::Drive - Container around Gnome2::VFS::Volume
HIERARCHY
Glib::Object
+----Gnome2::VFS::Drive
METHODS
string = $drive->get_activation_uri
integer = $a->compare ($b)
o $b (Gnome2::VFS::Drive)
string = $drive->get_device_path
devicetype = $drive->get_device_type
string = $drive->get_display_name
$drive->eject ($func, $data=undef)
o $func (scalar)
o $data (scalar)
string = $drive->get_hal_udi
Since: vfs 2.8
string = $drive->get_icon
unsigned = $drive->get_id
boolean = $drive->is_connected
boolean = $drive->is_mounted
boolean = $drive->is_user_visible
$drive->mount ($func, $data=undef)
o $func (scalar)
o $data (scalar)
list = $drive->get_mounted_volumes
Since: vfs 2.8
boolean = $drive->needs_eject
Since: vfs 2.16
$drive->unmount ($func, $data=undef)
o $func (scalar)
o $data (scalar)
SIGNALS
volume-mounted (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
volume-pre-unmount (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
volume-unmounted (Gnome2::VFS::Drive, Gnome2::VFS::Volume)
ENUMS AND FLAGS
enum Gnome2::VFS::DeviceType
o 'unknown' / 'GNOME_VFS_DEVICE_TYPE_UNKNOWN'
o 'audio-cd' / 'GNOME_VFS_DEVICE_TYPE_AUDIO_CD'
o 'video-dvd' / 'GNOME_VFS_DEVICE_TYPE_VIDEO_DVD'
o 'harddrive' / 'GNOME_VFS_DEVICE_TYPE_HARDDRIVE'
o 'cdrom' / 'GNOME_VFS_DEVICE_TYPE_CDROM'
o 'floppy' / 'GNOME_VFS_DEVICE_TYPE_FLOPPY'
o 'zip' / 'GNOME_VFS_DEVICE_TYPE_ZIP'
o 'jaz' / 'GNOME_VFS_DEVICE_TYPE_JAZ'
o 'nfs' / 'GNOME_VFS_DEVICE_TYPE_NFS'
o 'autofs' / 'GNOME_VFS_DEVICE_TYPE_AUTOFS'
o 'camera' / 'GNOME_VFS_DEVICE_TYPE_CAMERA'
o 'memory-stick' / 'GNOME_VFS_DEVICE_TYPE_MEMORY_STICK'
o 'smb' / 'GNOME_VFS_DEVICE_TYPE_SMB'
o 'apple' / 'GNOME_VFS_DEVICE_TYPE_APPLE'
o 'music-player' / 'GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER'
o 'windows' / 'GNOME_VFS_DEVICE_TYPE_WINDOWS'
o 'loopback' / 'GNOME_VFS_DEVICE_TYPE_LOOPBACK'
o 'network' / 'GNOME_VFS_DEVICE_TYPE_NETWORK'
SEE ALSO
Gnome2::VFS, Glib::Object
COPYRIGHT
Copyright (C) 2003-2007 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2::VFS for a full notice.
perl v5.14.2 2011-11-15 Gnome2::VFS::Drive(3pm)