Sponsored Content
Full Discussion: remote ufsdump permissions
Top Forums UNIX for Advanced & Expert Users remote ufsdump permissions Post 302076322 by jabberwocky on Monday 12th of June 2006 05:53:26 AM
Old 06-12-2006
I checked the permissions on the device files:

bash-2.05# rsh bmsapp01 ls -lt /dev/rmt/0cbn
lrwxrwxrwx 1 root other 45 May 31 2005 /dev/rmt/0cbn -> ../../devices/pci@1c,600000/scsi@1/st@5,0:cbn
bash-2.05# rsh bmsapp01 ls -lt /devices/pci@1c,600000/scsi@1/st@5,0:cbn
crw------- 1 root sys 33,221 Jun 10 03:21 /devices/pci@1c,600000/scsi@1/st@5,0:cbn

I changed the permisssions on /devices/pci@1c,600000/scsi@1/st@5,0:cbn on the application server to:

bash-2.05# rsh bmsapp01 ls -lt /devices/pci@1c,600000/scsi@1/st@5,0:cbn
crwxrwxrwx 1 root sys 33,221 Jun 10 03:21 /devices/pci@1c,600000/scsi@1/st@5,0:cbn

However it is still not possible to get a remote ufsdump working by using either method:

bash-2.05# ufsdump 0fuc bmsapp01:/dev/rmt/0cbn /
DUMP: Date of this level 0 dump: Mon 12 Jun 2006 10:52:43 AM BST
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/md/rdsk/d10 (bmsdb01:/) to bmsapp01:/dev/rmt/0cbn.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Writing 63 Kilobyte records
DUMP: Estimated 10872978 blocks (5309.07MB).
DUMP: /dev/rmt/0cbn: Permission denied
DUMP: NEEDS ATTENTION: Cannot open `bmsapp01:/dev/rmt/0cbn'. Do you want to retry the open?: ("yes" or "no") yes
DUMP: /dev/rmt/0cbn: Permission denied
DUMP: NEEDS ATTENTION: Cannot open `bmsapp01:/dev/rmt/0cbn'. Do you want to retry the open?: ("yes" or "no") no
DUMP: The ENTIRE dump is aborted.

or:

bash-2.05# ufsdump 0fuc - / | rsh bmsapp01 dd of=/dev/rmt/0cbn
DUMP: Date of this level 0 dump: Mon 12 Jun 2006 10:55:26 AM BST
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/md/rdsk/d10 (bmsdb01:/) to standard output.
dd: /dev/rmt/0cbn: open: Permission denied
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Writing 63 Kilobyte records
DUMP: Estimated 10872978 blocks (5309.07MB).
DUMP: Dumping (Pass III) [directories]
DUMP: Broken pipe
DUMP: The ENTIRE dump is aborted.

Thanks,

J
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ufsdump

I want to try using Ufsdump for backups . The man pages state that the file systems should be inactive or be in the unmounted state . But for that system should be in single User mode. My query is that can we perform Ufsdump in run-level 3 ? And if no should I have to reboot it in Single user... (3 Replies)
Discussion started by: DPAI
3 Replies

2. UNIX for Dummies Questions & Answers

ufsdump

hi i would like to backup my OS what is the exact command to do? beside backup to tapes can i back up to a directory in another server? will the command be the same? thanks. :confused: (4 Replies)
Discussion started by: legato
4 Replies

3. UNIX for Advanced & Expert Users

chmod (permissions) * not working on remote server

Hi gurus ! I am developing a FTP script which will copy all the files from one server to another server and then I need to use CHMOD 755 * to set permissions of all the files just copied to the remote server. mput * chmod 755 * CHMOD gives me an error CHMOD works fine If I specify... (3 Replies)
Discussion started by: sdlayeeq
3 Replies

4. Solaris

ufsdump

Hi, I want to how to take backup of File system From Disk to Disk using ufsdump? Wheather we can take the backup of root file system from one disk to another if tape drive is not available? wheather it is reliable to restore root file system? (2 Replies)
Discussion started by: manoj.solaris
2 Replies

5. UNIX for Advanced & Expert Users

ufsdump and restore

I just completed a level 0 ufsdump of the following files:- ufsdump 0uf /dev/rmt/0n / ufsdump 0uf /dev/rmt/0n /usr ufsdump 0uf /dev/rmt/0n /export/home ufsdump 0uf /dev/rmt/0n /oracle ufsdump 0uf /dev/rmt/0n /sapr3 I need to restore ALL the files onto a different machine and continue... (1 Reply)
Discussion started by: charleywasharo
1 Replies

6. UNIX for Dummies Questions & Answers

Ufsdump

Hi, I have 5 soraris boxes and i am trying to backup all to SAN.Which backup is more suitable tar or ufsdump? Also pls mention what are the important folders i need to back up. Thanks (3 Replies)
Discussion started by: solaris5.10
3 Replies

7. Solaris

ufsdump to a remote server

Hello, how can I use ufsdump utility for filesystem backup to a remote directory on a server dedicated for backups ( over network) ?? (3 Replies)
Discussion started by: mm00123
3 Replies

8. Solaris

Making backup with ufsdump to remote mounted filesystems

Hi Unix members. I am trying to make a backup to remote mounted filesystems : fileraseing:/vol/oracliente_revap01 10G 1.3G 8.7G 13% /orarev_ap01 fileraseing:/vol/bobje 10G 5.9G 4.1G 60% /bobje But I am receiving the follow message when use the ufsdump command: :$PWD>ufsdump 0fu... (8 Replies)
Discussion started by: aggadtech08
8 Replies

9. UNIX for Dummies Questions & Answers

How to do a ufsdump remote?

People i have 2 sun sparc solaris 10. I have one filesystem to 98% and i need to do a ufsdump of that filesystem. THe problem is that i don't have space to allocate the dump of the filesystem. Thats why i want to do it from the other sun and bring the ufs dump to de /FREE filesystem. ... (4 Replies)
Discussion started by: enkei17
4 Replies

10. Solaris

ufsdump

Experts, Before patching am advised to take backup : so am going with: ufsdump -0uf /dev/rmt0 / ---> to take the whole / bkp to tape. some servers have /var in diff slice, In this case whether i need to take backup of /var also in tape? ufsdump -ouf /dev/rmt0 /var ---> to take... (3 Replies)
Discussion started by: fizan
3 Replies
LWP-DUMP(1)						User Contributed Perl Documentation					       LWP-DUMP(1)

NAME
lwp-dump - See what headers and content is returned for a URL SYNOPSIS
lwp-dump [ options ] URL DESCRIPTION
The lwp-dump program will get the resource indentified by the URL and then dump the response object to STDOUT. This will display the headers returned and the initial part of the content, escaped so that it's safe to display even binary content. The escapes syntax used is the same as for Perl's double quoted strings. If there is no content the string "(no content)" is shown in its place. The following options are recognized: --agent str Override the user agent string passed to the server. --keep-client-headers LWP internally generate various "Client-*" headers that are stripped by lwp-dump in order to show the headers exactly as the server provided them. This option will suppress this. --max-length n How much of the content to show. The default is 512. Set this to 0 for unlimited. If the content is longer then the string is chopped at the limit and the string "... (### more bytes not shown)" appended. --method str Use the given method for the request instead of the default "GET". --parse-head By default lwp-dump will not try to initialize headers by looking at the head section of HTML documents. This option enables this. This corresponds to "parse_head" in LWP::UserAgent. --request Also dump the request sent. SEE ALSO
lwp-request, LWP, "dump" in HTTP::Message perl v5.18.2 2012-01-13 LWP-DUMP(1)
All times are GMT -4. The time now is 03:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy