- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: unmount filesystem
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
01-31-2007 10:44 PM
01-31-2007 10:44 PM
i have read the following steps in hp Technical documentation but is this procedures (unmounting the filesystem)
will lose me my data
Increase /var
Follow these steps to increase the size limit of /var.
Determine if any space is available for the /dev/vg00:
/sbin/vgdisplay /dev/vg00
You should see output like this:
- Volume groups - VG Name /dev/vg00VG Write Access read/writeVG Status availableMax LV 255Cur LV 8Open LV 8Max PV 16Cur PV 1Act PV 1Max PE per PV 2000VGDA 2PE Size (Mbytes) 4Total PE 249Alloc PE 170Free PE 79Total PVG 0
The Free PE indicates the number of 4 MB extents available, in this case 79 (equivalent to 316 MB).
Change to single user state:
/sbin/shutdown
This allows /var to be unmounted.
View mounted volumes:
/sbin/mount
You see a display similar to the following:
/ on /dev/vg00/lvol1 defaults on Sat Mar 8 23:19:19 1997/var on /dev/vg00/lvol7 defaults on Sat Mar 8 23:19:28 1997
Determine which logical volume maps to /var. In this example, it is /dev/vg00/lvol7
Unmount /var:
/sbin/umount /var
This is required for the next step, because extendfs can only work on unmounted volumes. If you get a "device busy" error at this point, reboot the system and log on in single-user mode before continuing.
Extend the size of the logical volume:
/sbin/lvextend -L new_size_in_MB /dev/vg00/lvol7
For example, to make this volume 332 MB:
/sbin/lvextend -L 332 /dev/vg00/lvol7
To extend the file system size to the logical volume size:
/sbin/extendfs /dev/vg00/rlvol7
Mount /var:
/sbin/mount /var
Go back to the regular init state: init 3 or init 4, or reboot.
Wait 10 minutes after changing the system state or rebooting to let processes complete before running SD-UX commands.
note: is unmount filesystem will lose me my data
any body help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 10:56 PM
01-31-2007 10:56 PM
Solutionno, the umount command itself does not lose any data.
You mount and unmount filesystems, as long as nobody is using them. See "man 1m mount"
You only lose data, if you change the file system layout.
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 11:09 PM
01-31-2007 11:09 PM
Re: unmount filesystem
what did you mean You only lose data, if you change the file system layout.
(are you sure the unmount does not lose any data)
thanks for help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 11:23 PM
01-31-2007 11:23 PM
Re: unmount filesystem
the unmount does not lose data.
My comment was for a situation were you, for example, lvreduce (shrink the logical volume), you would lose data.
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 11:33 PM
01-31-2007 11:33 PM
Re: unmount filesystem
best regards