Solaris 5.9


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Solaris 5.9
# 1  
Old 01-14-2009
Solaris 5.9

Hi,
I need to copy all filesystem located on /dev/dsk/c1t0d0s0 to /dev/dsk/c1t0d0s3 which has more space (45Gig).

Here is the /etc/vfstab display:
# cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
/proc - /proc proc - no -
fd - /dev/fd fd - no -
swap - /tmp tmpfs - yes -
/dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
/dev/dsk/c1t0d0s3 /dev/rdsk/c1t0d0s3 /adv1 ufs 1 yes -
/dev/dsk/c1t0d0s1 - - swap - no -

df -h display:
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 9.8G 8.1G 1.7G 84% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
swap 1.0G 152K 1.0G 1% /var/run
swap 1.1G 24M 1.0G 3% /tmp
/dev/dsk/c1t0d0s3 57G 13G 43G 24% /adv1

Since /dev/dsk/c1t0dos3 has more space, i want to use ufsdump to copy OS to a new mountpoint here then put in backup somewhere in case of discaster may occurs.

Note: that /adv1 is the database and application in operation.

the prtvtoc /dev/dsk/c1t0d0s0 shows:
# prtvtoc /dev/dsk/c1t0dos3
prtvtoc: /dev/dsk/c1t0dos3: No such file or directory
# prtvtoc /dev/dsk/c1t0d0s3
* /dev/dsk/c1t0d0s3 partition map
*
* Dimensions:
* 512 bytes/sector
* 424 sectors/track
* 24 tracks/cylinder
* 10176 sectors/cylinder
* 14089 cylinders
* 14087 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 0 00 121328448 20972736 142301183 /
1 3 01 142301184 1048128 143349311
2 5 00 0 143349312 143349311
3 0 00 10176 121318272 121328447 /adv1
7 0 00 0 10176 10175


Could someone help please step by step. I'm new to this environment.
I also noticed that ufsdump recommended in Single user Mode.

Thank you very much.
# 2  
Old 01-14-2009
Quote:
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t0d0s0 9.8G 8.1G 1.7G 84% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
fd 0K 0K 0K 0% /dev/fd
swap 1.0G 152K 1.0G 1% /var/run
swap 1.1G 24M 1.0G 3% /tmp
/dev/dsk/c1t0d0s3 57G 13G 43G 24% /adv1
One thing that I'd recommend doing before going to all of this trouble is identifying what is taking all of the space on /

You may discover that you have an application that is storing data on this slice - the solution is to fix where the data is being written, rather than changing your root partition...
# 3  
Old 01-14-2009
Hi,

I don't want to change my root partition. All i would like to do is having a copy of OS in case of emmergency...

Thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Solaris

Patching Procedure in Solaris 10 with sun cluster having Solaris zone

Hi Gurus I am not able to find the patching procedure for solaris 10 ( sol10 u11) to latest patchset with sun cluster having failover zones so that same I should follow. Take an instance, there are sol1 and sol2 nodes and having two failover zones like sozone1-rg and sozone2-rg and currently... (1 Reply)
Discussion started by: nick101
1 Replies

2. Solaris

root disk mirroring in solaris volume manager for solaris 10

Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment. Let me know if you need any deatils on this. Thanks, Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies

3. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

4. Solaris

application compiled on solaris 10 throwing error when executed on solaris 9

I have compiled my application on Solaris 10 with following description SunOS ldg1 5.10 Generic_138888-03 sun4v sparc SUNW,Sun-Blade-T6320 The compiler is Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25 But when installing the application on Solaris 9 SunOS odcarch02 5.9... (2 Replies)
Discussion started by: ash_bit2k2
2 Replies
Login or Register to Ask a Question