problem in restoring mountpoint in Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris problem in restoring mountpoint in Solaris
# 1  
Old 07-09-2009
problem in restoring mountpoint in Solaris

Hi,
I am restoring the existing mount point on Solaris and getting below mentioned error

mount: /dev/dsk/c0t2d0s6 is already mounted or /billing is busy

I uses truss command to see the output and snapshot is below. Please help me to restore the mount point,

# truss -fa mount -F /dev/dsk/c0t2d0s6 /billing
15020: execve("/sbin/mount", 0xFFBFFD4C, 0xFFBFFD60) argc = 4
15020: argv: mount -F /dev/dsk/c0t2d0s6 /billing
15020: resolvepath("/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
15020: resolvepath("/sbin/mount", "/sbin/mount", 1023) = 11
15020: stat("/sbin/mount", 0xFFBFFB28) = 0
15020: open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
15020: stat("/lib/libcmd.so.1", 0xFFBFF648) = 0
15020: resolvepath("/lib/libcmd.so.1", "/lib/libcmd.so.1", 1023) = 16
15020: open("/lib/libcmd.so.1", O_RDONLY) = 3
15020: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF3A0000
15020: mmap(0x00010000, 90112, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF380000
15020: mmap(0xFF380000, 9948, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF380000
15020: mmap(0xFF394000, 1027, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 16384) = 0xFF394000
15020: munmap(0xFF384000, 65536) = 0
15020: memcntl(0xFF380000, 3336, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
15020: close(3) = 0
15020: stat("/lib/libc.so.1", 0xFFBFF648) = 0
15020: resolvepath("/lib/libc.so.1", "/lib/libc.so.1", 1023) = 14
15020: open("/lib/libc.so.1", O_RDONLY) = 3
15020: mmap(0xFF3A0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF3A0000
15020: mmap(0x00010000, 991232, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF280000
15020: mmap(0xFF280000, 882285, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 3, 0) = 0xFF280000
15020: mmap(0xFF368000, 29469, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 3, 884736) = 0xFF368000
15020: mmap(0xFF370000, 2592, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF370000
15020: munmap(0xFF358000, 65536) = 0
15020: memcntl(0xFF280000, 139784, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
15020: close(3) = 0
15020: munmap(0xFF3A0000, 8192) = 0
15020: mmap(0x00010000, 24576, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xFF3A0000
15020: getcontext(0xFFBFF820)
15020: getrlimit(RLIMIT_STACK, 0xFFBFF800) = 0
15020: getpid() = 15020 [15019]
15020: setustack(0xFF3A2088)
15020: brk(0x00027248) = 0
15020: brk(0x00029248) = 0
15020: stat("/platform/FJSV,GPUZC-M/lib/libc_psr.so.1", 0xFFBFF420) = 0
15020: resolvepath("/platform/FJSV,GPUZC-M/lib/libc_psr.so.1", "/platform/FJSV,GPUZC-M/lib/libc_psr.so.1", 1023) = 40
15020: open("/platform/FJSV,GPUZC-M/lib/libc_psr.so.1", O_RDONLY) = 3
15020: mmap(0x00010000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 3, 0) = 0xFF270000
15020: mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF260000
15020: close(3) = 0
15020: open("/etc/vfstab", O_RDONLY) = 3
15020: llseek(3, 0, SEEK_CUR) = 0
15020: fstat64(3, 0xFFBFF8C0) = 0
15020: brk(0x00029248) = 0
15020: brk(0x0002B248) = 0
15020: fstat64(3, 0xFFBFF768) = 0
15020: ioctl(3, TCGETA, 0xFFBFF84C) Err#25 ENOTTY
15020: read(3, " # d e v i c e\t\t d e v".., 8192) = 821
15020: read(3, 0x00028064, 8192) = 0
15020: llseek(3, 0, SEEK_SET) = 0
15020: read(3, " # d e v i c e\t\t d e v".., 8192) = 821
15020: read(3, 0x00028064, 8192) = 0
15020: llseek(3, 0, SEEK_CUR) = 821
15020: llseek(3, 0, SEEK_SET) = 0
15020: llseek(3, 0, SEEK_CUR) = 0
15020: read(3, " # d e v i c e\t\t d e v".., 8192) = 821
15020: read(3, 0x00028064, 8192) = 0
15020: llseek(3, 0, SEEK_SET) = 0
15020: stat64("/billing", 0xFFBFFAE0) = 0
15020: read(3, " # d e v i c e\t\t d e v".., 8192) = 821
15020: read(3, 0x00028064, 8192) = 0
15020: llseek(3, 0, SEEK_CUR) = 821
15020: close(3) = 0
15020: fstat64(2, 0xFFBFEBA0) = 0
mount15020: write(2, " m o u n t", 5) = 5
: FSType 15020: write(2, " : F S T y p e ", 9) = 9
/dev/dsk/c0t2d0s615020: write(2, " / d e v / d s k / c 0 t".., 17) = 17
exceeds 15020: write(2, " e x c e e d s ", 9) = 9
815020: write(2, " 8", 1) = 1
characters
15020: write(2, " c h a r a c t e r s\n", 12) = 12
15020: _exit(1)
#
# 2  
Old 07-09-2009
sounds like it might already be mounted. please paste the output of the mount command with no arguments.
# 3  
Old 07-09-2009

you can use fuser -cu /billing and see if there any user/ process running ?

other option is umount -f /billing and mount the file system.
# 4  
Old 07-11-2009
fuser -ck /billing
Force unmount the filesystem then try restoring
umount -f /billing
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unable to format new mountpoint

Can some one help me i try to mkfs new mountpoint from storageIBM but give some problem # mkfs -t ext3 /dev/sdd1 mke2fs 1.39 (29-May-2006) /dev/sdd1 is apparently in use by the system; will not make a filesystem here! my os is redhat 5.3 using fdisk # fdisk -l Disk /dev/sda: 298.9... (4 Replies)
Discussion started by: vickyid04
4 Replies

2. UNIX for Advanced & Expert Users

Filesystem and partition, mountpoint

Hello All, I am new to System/plat-form administration work. Right now I am facing some issues while creating the filesystem and mounpoint. I am using Linux 6.0 SuSE 11. Last time I was used one command to partition the given space along with filesystem in SuSE 9 and it was done in GUI mode but... (0 Replies)
Discussion started by: nvkuriseti
0 Replies

3. Shell Programming and Scripting

Restoring problem on tape!

hi all , a messages appeared to me when i was checking my /var/adm/messages and the below code was in it Oct 6 13:15:21 medprod scsi: /pci@3,700000/SUNW,emlxs@0/fp@0,0/st@w21000024ff305234,7 (st1): Oct 6 13:15:21 medprod Restoring tape position at fileno=320,... (5 Replies)
Discussion started by: semaan
5 Replies

4. Shell Programming and Scripting

Get mountpoint from filename

Dear Guru's Given a full filename /a/b/c/d/file.txt how do i determine what part is the mount point ( say /a/b). Cheers, Karel (6 Replies)
Discussion started by: karelb
6 Replies

5. AIX

Problem restoring libc.a (AIX 5.3)

Hi, The symbolic link from /usr/lib/libc.a to /usr/ccs/lib/libc.a was deleted by accident. So we are trying to restore it, but we have some problems. After booting from CD, and access the rootvg volume group (without mounting the system), we tried to execute the next commands: mount /dev/hd4... (1 Reply)
Discussion started by: NicoAIX
1 Replies

6. UNIX for Advanced & Expert Users

Problem by restoring data from alphaserver 4100 to alphaserver 20DSe

Hi guys. I am in this forum and I have some troubles with my two alphas. I nned to create backup machine for our server DEC 4100. what is done created root_domain, usr_domain (ADVFS) on DS20e restored from backup tape vdump from same directories if i try to start, i get the following : ... (0 Replies)
Discussion started by: gaendalf
0 Replies

7. Solaris

Problem restoring files from remote tape drive

Server 1 - Sun Solaris 5.8 sparc SUNW,Sun-Fire-480R with attached DLT tape drive /dev/rmt/0n Server 2 - Old DG-UX box which has restore command on it compatible with the files on the backyup tape - backed up with dump2 Server 3 - Sun solaris 5.9 sparc SUNW,Sun-Fire-V490 with lots of free space... (4 Replies)
Discussion started by: lindab
4 Replies

8. Linux

Problem for restoring lvm on different disks

Hi all, I have a server running in RH ES4, the SCSI HD are running in RAID 1. I backup the LVM config by using 'vgcfgbackup' and then remove all the HD. I insert another HD (same size & branch but different model) into the machine and run linux rescue to recreate the... (0 Replies)
Discussion started by: donaldfung
0 Replies

9. UNIX for Dummies Questions & Answers

Blocksize problem restoring file from tape

I was recently given the responsibility of the unix box at our work. Without much training, I now have to go back and restore a file from tape. I'm having some trouble with it. I'm getting an error with the blocksize. The part of the script that does the tar looks like this: tar cvfX... (11 Replies)
Discussion started by: citrowske
11 Replies

10. AIX

Access problem wiht mountpoint, 5.1 ML6

I have experienced a strange effect on one of our machines and would like to ask, if somebody else can verify this. Machine is a LPAR in a 690, OS is 5.1, ML 6. I create a new group and a new user, who has this group set as his primary group he will be in no other group. Then, as root, create a... (1 Reply)
Discussion started by: bakunin
1 Replies
Login or Register to Ask a Question