Solaris 10 - ufsdump hangs


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 - ufsdump hangs
# 1  
Solaris 10 - ufsdump hangs

Anyone ever see an issue where ufsdump 'hangs' after the IV Pass?
Normally, it will update with an estimate of how long it will take to complete...and update the info every 20 minutes.

I'm running the following command:

root# ufsdump 0f - /fsmount | ( cd /zfs/newfsmount ) ; ufsrestore rf - )

(we are moving from UFS to ZFS - on Solaris 10!)

I've got 2 UFS file systems that just won't work with ufsdump. I've run fsck with no issues found, ran the ufsdump while mounted (apps and database down), ran it while it was mounted read-only (with apps and database down), ran it while file system was unmounted (with apps and database down). Nothing works.

Yet I'm using ufsdump on more than 10 other UFS file systems with no issue.

No error messages from ufsdump, nothing in messages file...

DUMP: Date of this level 0 dump: Sat Sept 27 14:16:16 2014
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c14t600015D000236B00000340200111052Cd0s2 (server004:/fsmount) to standard output.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Writing 32 Kilobyte records
DUMP: Estimated 441443448 blocks (215548.56 MB).
DUMP: Dumping (Pass III) [directories]
DUMP: Dumping (Pass IV) [regular files]
(this is where it should update with how long it will take...but I get nothing...left it running for 12 hours and still nothing)

If I control-C the dump, it ask if I want to abort...last night was the first time I said no. It finally started showing/updating the status...
DUMP: 0.12% done, finished in 19962:24

It continued showing updates until completed - but it never copied one file! It did create some of the directories on the new disk (13 of the 99 top directories)
and a total of 382 directories, but NO data, ascii, text, non-directory files.

Solaris 10 1/3 - generic 147147-26

One of them I finally ran tar against to get the copy completed - with no issues.
The last one I'll have to do the same but it will take a whole weekend to complete. FS is only 504G (where I've had 2TB FS convert with ufsdump with no issues). Plenty of free space, plenty of free memory, no issues with inodes on old UFS FS, new ZFS pool has enough space....

Hopefully someone has seen this before and knows what it is...thanks!

Last edited by RTM; 09-28-2014 at 02:34 PM.. Reason: added info
# 2  
So you're running ufsdump without fssnap to snapshot first?

Perhaps it's coming across what it thinks are open/locked files.

You should run fssnap first and then dump the special (static) device fssnap gives you.

Also, remember to delete the snapshot (again using fssnap) once the ufsdump has completed.

Failing that I'd be tempted to fully check the filesystem with

# fsck -o full

option. It will take a long time but will check everything on the filesystem. Of course, yes, it might be quicker to resort to tar but will that give you a faithfull restore of the filesystem?

Search this forum for threads about ufsdump AND fssnap. I've written about all this before on this forum.

Last edited by hicksd8; 09-30-2014 at 01:22 PM..
# 3  
What does "iostat -E" show?

What's in /var/adm/messages?

What does a pstack of the running ufsdump process show?

What does running ufsdump under "truss -f -a -vall -o /path/to/output/file ..." show?
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #825
Difficulty: Medium
The term API seems to appear for the first time in the article of Ira W. Cotton, Data structures and techniques for remote computer graphics, published in 1968.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Solaris hangs (Firefox)

dear members, i am a newbie to solaris 11.3, and deeply impressed. On my test pc (Lenovo M90), however, using the internet hangs the system from time to time; initializing the connecting (WLAN) during installation (via the live cd) took two attempts as well. Maybe someone has a solution... (7 Replies)
Discussion started by: RichardLichten
7 Replies

2. Solaris

Ufsdump Solaris 11

Hello, i have a solaris 11 sparc64 and Im trying to do a backup to tape. This is the display: # ufsdump 0uf /dev/rmt/0cbn /dev/rdsk/c2t0d0s2 DUMP: Date of this level 0 dump: February 27, 2013 01:58:23 PM CET DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rdsk/c2t0d0s2 to... (2 Replies)
Discussion started by: Ferch13
2 Replies

3. Solaris

Solaris 10 - hangs during boot

Power server up runs through diagnostics. Goes to the boot section and then the bit where the cursor is spinning and thats it. Hangs completely. Any ideas? (10 Replies)
Discussion started by: psychocandy
10 Replies

4. Solaris

Solaris ssh client hangs when connecting to another Solaris machine

Got a strange problem. I have 4 Solaris servers all configured the same, Solaris 10 x86 update 10. When I try to ssh from one Solaris 10 server to another server ssh hangs. I have an identical server and when I try this everything works fine. The weird thing is if I am root on the server... (1 Reply)
Discussion started by: ccj4467
1 Replies

5. Ubuntu

ufsdump from Solaris to ubuntu fails with bad file descriptor

Hi All I have a dedicated backup server running ubuntu 10.04, which has recently been rebuilt (same OS, just different h/w) This is used to receive ufsdump output from a number of Solaris servers, using the following syntax: ufsdump 1uf :/path/to/backup/file /fs/to/be/backed/up This has... (1 Reply)
Discussion started by: in2deep
1 Replies

6. Solaris

Solaris 10 system hangs

Solaris 10 (Sun V210) System hangs every couple of months. Have to go into ALOM to reset. I did a consolehistory report and seen this in it. Failed to exec inetd_start method of instance svc:/network/bootps/udp:default: I/O error WARNING: /pci@1c,600000/scsi@2 (glm0): Resetting... (3 Replies)
Discussion started by: Joeentech
3 Replies

7. Solaris

solaris hangs after booting

Hi, We've got a Sun Fire V245 that's failing to boot from either boot disk (mirrored using SVM). It simply hangs after loading a few modules: Sun Fire V245, No Keyboard Copyright 2006 Sun Microsystems, Inc. All rights reserved. OpenBoot 4.22.22, 1024 MB memory installed, Serial... (5 Replies)
Discussion started by: badoshi
5 Replies

8. Solaris

Boot hangs up on solaris

Hi all, I have a SUN server Sun-Fire-V890 running solaris 9, with a remote system console . Both the IP adresses of the server and the console are in a private network (address 10.67.xxx). For some reasons I need to give the access to the server from outside address 194.xxx, but I prefer that... (2 Replies)
Discussion started by: aribault
2 Replies

9. UNIX for Advanced & Expert Users

Need URGENT HELP---ufsdump-- Solaris 9

/dev/md/dsk/d0 20174761 1778528 18194486 9% / /dev/md/dsk/d30 17648810 1592139 15880183 10% /usr /proc 0 0 0 0% /proc mnttab 0 0 0 0% /etc/mnttab fd 0 0 0 ... (0 Replies)
Discussion started by: sriny
0 Replies

10. UNIX for Advanced & Expert Users

Solaris 9 server hangs, when rebooting

Hi, We have a SunFire V880, hooked up with 2 T3 arrays. When ever we issue a reboot command on the system, it hangs at the same place right where it says syncing file systems done. To bring it back we shutdown power and it comes clean. By the way init 6 command works fine. Has anyone come... (3 Replies)
Discussion started by: smohd
3 Replies