Sponsored Content
Full Discussion: fssnap ioctl error
Operating Systems Solaris fssnap ioctl error Post 302335940 by ilikecows on Monday 20th of July 2009 07:57:28 PM
Old 07-20-2009
fssnap ioctl error

For some reason when I try to take a snapshot of the root slice on a particular machine I get an ioctl 22 error. I can't seem to find much on the problem by searching the internet other than some realtime processes such as ntp that use mlock can cause this to happen. I tried running it with truss and found nothing different other that the ioctl 22 when compared to the output of truss on a machine where I am able to take a snapshot. I even tried doing it from single user mode. The only thing I can think of is the root volume is a UFS filesystem managed by veritas volume manager. Any suggestions will be greatly appreciated.
 

10 More Discussions You Might Find Interesting

1. Programming

ioctl()

UNIX, gnu cc compiler, SUN Ultra 60 Hello, this is my first post, so please bear with me. I'm currently developing a test environment for a network subsystem that, when live, accesses databases and other network elements. However, my test environment will be run offline, so I need to fake... (4 Replies)
Discussion started by: j_t_kim
4 Replies

2. Solaris

Inappropriate ioctl for device, format error

When I try to format a slice in Solaris 10 I get the follow error : -bash-3.00# mkfs /dev/dsk/c1d0s5 18877824 Can not determine partition size: Inappropriate ioctl for device Some format command output:.... AVAILABLE DISK SELECTIONS: 0. c1d0 <DEFAULT cyl 38735 alt 2 hd 64 sec 63>... (2 Replies)
Discussion started by: spoonman
2 Replies

3. Solaris

how can we take fssnap of different filesystems for the same point-in-time?

I managed to work with fssnap for snapshotting filesystems but, my question is..., is there a way we could get snapshots for the same point for multiple FS. Wating on your help..., as i already did my trials what all i can!! -ilan (0 Replies)
Discussion started by: ilan
0 Replies

4. Solaris

fssnap error :snapshot error: File system could not be write locked

Hi Guys. This is part of my filesystem structure : Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 47G 5.2G 42G 12% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% ... (2 Replies)
Discussion started by: aggadtech08
2 Replies

5. Solaris

Can fssnap be used as a compression tool (Solaris 10)?

Friends, I am learning the working of fssnap command. Suppose there is a directory named /datadir which is of size 500mb. I had taken the snapshot by means of the following command: #fssnap -F ufs -o bs=/snapshotdir /datadir { it shows the o/p as /dev/fssnap/0 } My question is if... (2 Replies)
Discussion started by: saagar
2 Replies

6. Solaris

Confused about fssnap

Hello All, I am confused about the below outputs when I have tried fssnap output using diff path. bash-3.00# /usr/lib/fs/ufs/fssnap -i ============>> o/p 1 Snapshot number : 0 Block Device : /dev/fssnap/0 Raw Device :... (0 Replies)
Discussion started by: vaibhav.kanchan
0 Replies

7. Shell Programming and Scripting

Making a fssnap of / and /var

Hello to everyboyd i have a list of filesystem that i want to do a fssnap the idea is the bakcup / /var /dbo /Free The logic is when i do a fssnap of / or /dbo or /Free the file that generetes the fssnap goes to /var but when i do a fssnap of /var goes to /(and some folder). Can anybody... (0 Replies)
Discussion started by: enkei17
0 Replies

8. Solaris

Backing up using fssnap and ufsdump

Hi all! Here's my situation: I need to backup a running system before I can bring it down I've tried performing a ufsdump while it's in multi-user mode but my ufsdump fails because there is too much activity on the system. So I read that I could use fssnap to create a snapshot of (in my... (3 Replies)
Discussion started by: Keepcase
3 Replies

9. Red Hat

Automounter floods ioctl and futex error messages

Hi! I have a wondering regarding the syscalls automounter floods out when running strace on the process, are the below ioctl & futex messages bad? and is there any way to investigate em deeper? ioctl(3, 0xffffffffc018937c, 0x417a8020) = -1 EAGAIN (Resource temporarily unavailable) ioctl(3,... (5 Replies)
Discussion started by: Esaia
5 Replies

10. Solaris

Pls. help with fssnap - Solaris

Hi, I have used Solaris but new to ZFS. I need to backup the root volume using fssnap. zpool list NAME SIZE ALLOC FREE CAP HEALTH ALTROOT pool5 808G 552G 256G 68% ONLINE - rpool 136G 20.9G 115G 15% ONLINE - zfs list NAME USED... (3 Replies)
Discussion started by: samnyc
3 Replies
fssnap(1M)						  System Administration Commands						fssnap(1M)

NAME
fssnap - create temporary snapshots of a file system SYNOPSIS
fssnap [-F FSType] [-V] -o special_options /mount/point fssnap -d [-F FSType] [-V] /mount/point | dev fssnap -i [-F FSType] [-V] [-o special_options] [/mount/point | dev] DESCRIPTION
The fssnap command creates a stable, read-only snapshot of a file system when given either an active mount point or a special device con- taining a mounted file system, as in the first form of the synopsis. A snapshot is a temporary image of a file system intended for backup operations. While the snapshot file system is stable and consistent, an application updating files when the snapshot is created might leave these files in an internally inconsistent, truncated, or otherwise unusable state. In such a case, the snapshot will contain these partially written or corrupted files. It is a good idea to ensure active applications are suspended or checkpointed and their associated files are also consis- tent during snapshot creation. File access times are not updated while the snapshot is being created. A path to the virtual device that contains this snapshot is printed to standard output when a snapshot is created. OPTIONS
The following options are supported: -d Deletes the snapshot associated with the given file system. -F FSType Specifies the file system type to be used. The FSType should either be specified here or be determined by matching the block special device with an entry in the /etc/vfstab table, or by consulting /etc/default/fs. -i Displays the state of any given FSType snapshot. If a mount-point or device is not given, a list of all snapshots on the system is displayed. When a mount-point or device is specified, detailed information is provided for the specified file system snapshot by default. The format and meaning of this information is file-system dependent. See the FSType-specific fssnap man page for details. -o special_options See the FSType-specific man page for fssnap. -V Echoes the complete command line, but does not execute the command. OPERANDS
The following operands are supported: /mount/point The directory where the file system resides. EXAMPLES
See FSType-specific man pages for examples. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/etc/vfstab Specifies file system type. /etc/default/fs Specifies the default local file system type. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
fssnap_ufs(1M), attributes(5) NOTES
This command might not be supported for all FSTypes. SunOS 5.10 11 Aug 2004 fssnap(1M)
All times are GMT -4. The time now is 06:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy