Problem with Solaris Partition, I cant see it


 
Thread Tools Search this Thread
Operating Systems Solaris Problem with Solaris Partition, I cant see it
# 1  
Old 10-15-2008
Problem with Solaris Partition, I cant see it

Hi All,

First post, I work as database developer (Oracle)

My task is to setup a solaris system on a VMware installation which sits on a x86 server.

I have installed the Os, applied patches (I think) and on VMWARE I added new hardware (Disk) which is where my database will be.

The problem now is that, on running df -k I cant see the extra 50GB which I added as disk hardware, I want to be able to see this and mount it as /u01

Can anyone help here ? What do I need to do.. from a windows perspective, looks like the new drive has not been formated, not a Solaris expert, so I will solicit for help here.

Thanks in advance
# 2  
Old 10-15-2008
df -k is only going to show you the file system which is mounted. have you mounted the partition which you are saying is missing.
can you see the missing partition in /etc/vfstab? if not then you need to create the partation with
Quote:
format
command , then use
Quote:
newfs <device name>
and mount it on mount point /u01. Also make the required entry in /etc/vfstab .
# 3  
Old 10-16-2008
iostat -En is also a very (at least for me) usefull command when discovering new storage devices.
# 4  
Old 10-16-2008
In addition to what kumarmani said, you might need to 'introduce' the disk to the system by doing a reconfiguration reboot or by using devfsadm command.

After the system recognize the disk you need to partition it (format) then create a filesystem. Create an en entry on the /etc/vfstab. Then use mount command to mount it.

Hope this help.

-d
# 5  
Old 10-17-2008
Below is a copy of my vfstab file
Quote:

#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t0d0s1 - - swap - no -
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
/dev/dsk/c1t0d0s7 /dev/rdsk/c1t0d0s7 /export/home ufs 2 yes -/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -

I believe I have formatted the 50GB partition, but nothing on the format functionality is able to help me here.

I have been trying most of the functionalities, nothing to say, create partition and mount so that the OS can see it.

Quote:
AVAILABLE DRIVE TYPES:
0. Auto configure
1. DEFAULT
2. DEFAULT
3. other
Specify disk type (enter its number)[2]: 1
selecting c1t1d0
[disk formatted]
format>
format> current
Current Disk = c1t1d0
<DEFAULT cyl 7829 alt 2 hd 255 sec 63>
/pci@0,0/pci15ad,1976@10/sd@1,0

format> save
Saving new disk and partition definitions
Enter file name["./format.dat"]: oracle
format> save
Saving new disk and partition definitions
Enter file name["./format.dat"]: oracle
format> verify
Warning: Primary label on disk appears to be different from
current label.

Warning: Check the current partitioning and 'label' the disk or use the
'backup' command.

Primary label contents:

Volume name = < >
ascii name = <DEFAULT cyl 7829 alt 2 hd 255 sec 63>
pcyl = 7831
ncyl = 7829
acyl = 2
bcyl = 0
nhead = 255
nsect = 63
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 7828 59.97GB (7829/0/0) 125772885
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
Above is a transcript of some of the things that I have been doing, as you can see the 59GB free space, I need all of it mounted to a point. Please someone help me.
# 6  
Old 10-17-2008
As you can see there is no reference of /u01 in the 3rd column of /etc/vfstab.

Can you see the new disk on format command ?

1. Select that disk from list and partition it by selecting the disk partition you wanna then assign it partition ID tag , which ever you want ( you can get the correct value for this by typing ‘?’ mark there and then hitting the enter button. Same way you can select the permission flags , after that u need to assign the starting cylinder number be care full while selecting the starting cylinder or just press enter if not sure. Then select the end cylinder number , here you can pass the value in GB say if u need 50GB , enter the value as 50g . press enter. Verify the same by pressing ‘p’ or print on the format command, once you are sure then label the disk and quit the format utility.

2. After that you need to assign the file type on the partition which you can do with newfs command , i.e.
Quote:
newfs /dev/rdsk/c0t0d0p<number> s<number>
and press enter. This command will create the ufs file system on the give partition.

3. Then create the mount point with
Quote:
mkdir /u01
4 enter the partition on /etc/vfstab where in you have to give value for seven filed edit and save and exit the file.

Quote:
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
5. execute command
Quote:
mountall
6 check if the file system is mount on not with
Quote:
mount –p / df –k

Last edited by kumarmani; 10-17-2008 at 12:20 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

The problem in the new partition

hi I created a new partition ls -l /dev/sda* brw-rw---- 1 root disk 8, 0 Oct 21 12:29 /dev/sda brw-rw---- 1 root disk 8, 1 Oct 12 11:19 /dev/sda1 brw-rw---- 1 root disk 8, 10 Oct 21 13:50 /dev/sda10 brw-rw---- 1 root disk 8, 2 Oct 12 11:19 /dev/sda2 brw-rw---- 1 root disk 8, 3 Oct... (3 Replies)
Discussion started by: mnnn
3 Replies

2. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

3. Solaris

Solaris Filesystem - rename the partition

Hi all i got this filesystem Filesystem size used avail capacity Mounted on /dev/dsk/c0t600A0B80001F350A000033404A5D29D9d0s2 492G 64M 487G 1% /u10 How do i change the name for /dev/dsk/c0t600A0B80001F350A000033404A5D29D9d0s2 to the... (3 Replies)
Discussion started by: SmartAntz
3 Replies

4. Solaris

Disabling Solaris 10 active partition

I have a dual boot system with windows xp and solaris 10 running. Solaris 10 is currently in the primary active partision. If it's possible, how do I make the windows partision the primary active one rather than solaris 10? (1 Reply)
Discussion started by: shakarho
1 Replies

5. Solaris

How to get a mail when the partition reaches 75% in solaris

Hi Every one, I am new to Solaris and i want to know how to get a mail when the partition reaches certain Ex-75% percentage, and how to write shell script. I hope some one will help me. Thanks and Regards, Venkatesh. ##edit#by#moderator## don't post your email address here... (1 Reply)
Discussion started by: 1409.venkatesh
1 Replies

6. Solaris

How to use FORMAT and PARTITION command on Solaris 9

I am seeking advice from experts in this forum. Please help me. I have tow disks on Sun Sparc box. Disk one has been installed Solaris 9 system. The disk two has been partitioned as one disk with 140 GB on the partition /dev/dsk/c1t1d0s6. Right now, I want to modify it as two partitions. I have... (8 Replies)
Discussion started by: duke0001
8 Replies

7. UNIX for Advanced & Expert Users

How to merge solaris partition

I m using solaris 8. I have some free space on my hard disk. I want to merge that space into /export/home. Please tell me complete procedure for doing it. (7 Replies)
Discussion started by: mansoorulhaq
7 Replies

8. Solaris

How to access a solaris partition

Hi, I have the present scenario on a x86 machine. fdisk c0d0p0 Cylinders Partition Status Type Start End Length % 1 Active Solaris2 1 2500 2500 61 2 ... (14 Replies)
Discussion started by: vibhor_agarwali
14 Replies

9. Solaris

Solaris 8 partition - compression

Hi, Anyone know if I have a mount point /data , can it turn on compression like what the MS Windows does ???? Thanks (2 Replies)
Discussion started by: civic2005
2 Replies

10. Filesystems, Disks and Memory

re-partition disks on solaris

hi all, i was wondering if i have some volume manager and i want to format all partitions/disks and re-create new slices can i use regular format command or what? i think veritas volume manager is already installed. (2 Replies)
Discussion started by: Bashar
2 Replies
Login or Register to Ask a Question