- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /var/opt/omni directory full
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2001 04:46 PM
03-08-2001 04:46 PM
I'm new to omniback and I'm having problem with this directory "/var/opt/omni" because it is nearly full. How can I clear some space?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2001 05:34 PM
03-08-2001 05:34 PM
SolutionYou can try clearing log files in /var/opt/omni/log .It may not release much space anyway.You can purge the old entries in omniback database using omnidb -purge option.
Then do a readascii and write ascii back to shrink the omnibd size .
If u have enough space I would recommend extending the filesystem.If /var/opt/omni is a directory it would be better to move it to a new file system.
create a new lvol .Mount it in a temp name and cpio the data under /var/opt/omni.
lvcreate -n lomni /dev/vgxx
lvextend -L 200 /dev/vgxx/lomni /dev/dsk/cxtxdx
newfs -F vxfs /dev/vgxx/rlomni
mkdir /tmp/omni
mount /dev/vg02/lvomni /tmp/omni
omnistat
/opt/omni/sbin/omnisv.sh stop
cd /var/opt/omni
find . -depth -print | cpio -pdumV /tmp/omni
mv /var/opt/omni /var/opt/omni.old
mkdir /var/opt/omni
update /etc/fstab
umount /dev/vg02/lvomni
mount /var/opt/omni
/opt/omni/sbin/omnisv.sh start
omnistat
run some query to database
Note :Verify that the file and directory permissions are appropriate.
Karthik...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2001 05:36 PM
03-08-2001 05:36 PM
Re: /var/opt/omni directory full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2001 05:42 PM
03-08-2001 05:42 PM
Re: /var/opt/omni directory full
Purging the Omniback database
UNIX
======
1. Calculate the size of the existing Omniback database, by running the
command:
omnidbutil -info
The amount of disk space can be determined by adding up the values in
the 'disk space' column.
2. Create an empty directory on a Mount Point that will accomodate at least
130% of the current size of the omniback database. For this discussion, I
will call this directory
directory, ie, /tmp/omnidb
3. Run the command:
omnidb -strip
This will mark for removal any sessions for which the media has been
reused. When this completes-
4. Run the command:
omnidbutil -purge -detail -days 5
This will remove anything marked by the previous command. This will
remove all filenames for which there are no file versions. This remove any
Aborted Session, and failed Sessions, and Restore Sessions older than 5
days. This command will immediately return you back to the command prompt,
so you will need to periodically check the process list ('ps -ef | grep
omni') until there are no more 'psm' processes running.
5. Run the command:
omnidbutil -writeascii -cdb
when this completes-
6. Run the command:
omnidbutil -readascii -cdb
Hope this helps,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2001 10:46 PM
03-11-2001 10:46 PM
Re: /var/opt/omni directory full
Another option cold be to create a directory
on a disk with enough space and create a softlink, that points to this directory.
Rgds
Alexander M. Ermes