- Community Home
- >
- HPE Community, Korea
- >
- HP-UX
- >
- swap 줄이려면 어떻게해야 하나여?
HP-UX
1748272
회원
4188
온라인
108760
솔루션
포럼
범주
Company
Local Language
뒤로
포럼
토론 게시판
포럼
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
토론 게시판
토론 게시판
포럼
토론 게시판
뒤로
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
블로그
정보
커뮤니티 언어
언어
포럼
블로그
3 응답 3
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 03-14-2007 10:00 PM
날짜: 03-14-2007 10:00 PM
swap 줄이려면 어떻게해야 하나여?
아래의 방법은 /stand의 크기를 늘리는 것이지만 이것으로 Swap도 줄일수있기에 올려 봅니다. 전아직 테스트를 하지 않아서^^
테스트 하고 하시기 바랍니다.^^
1. reboot system, interrupt maintenance mode
#shutdown -ry 0
Main Menu : boot pri isl
Iteract with the IPL?>y
ISL>hpux -lm
2. VG00 activate
#vgchange -a y vg00
3. /stand가 contiguous인지확인하여 임시적으로 /dev/vg00/lvol2
(SWAP)을 제거한후 /dev/vg00/lvol1(/stand)를 늘리고 남은 공간
으로 /dev/vg00/lvol2를 다시 만든다.
그러기 위해서 /dev/vg00/lvol1, /dev/vg00/lvol2 확인
#lvdisplay /dev/vg00/lvol1#lvdisplay /dev/vg00/lvol2
3의 내용을 바탕으로 /dev/vg00/lvol1과 /dev/vg00/lvol2 크기
확인
현재 lovl1 크기 + 추가되는 lvol1크기 = 새로운 lvol1 크기
현재 lovl2 크기 - 추가되는 lvol1크기 = 새로운 lvol2 크기
5. 임시적으로 /dev/vg00/lvol2제거 (BDRA 영역 제거)
#lvrmboot -s /dev/vg00
#lvrmboot -d lvol2 /dev/vg00
#lvremove -f /dev/vg00/lvol2
6. /dev/vg00/lvol1 크기 늘리기
#lvextend -L (새로운크기) /dev/vg00/lvol1
#extendfs -F hfs /dev/vg00/rlvol1
7. /dev/vg00/lvol2다시 만들기
#lvcreate -L (새로운 크기) /dev/vg00/lvol2
8. BDRA pointer Update
#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2
#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -v
9. Reboot
테스트 하고 하시기 바랍니다.^^
1. reboot system, interrupt maintenance mode
#shutdown -ry 0
Main Menu : boot pri isl
Iteract with the IPL?>y
ISL>hpux -lm
2. VG00 activate
#vgchange -a y vg00
3. /stand가 contiguous인지확인하여 임시적으로 /dev/vg00/lvol2
(SWAP)을 제거한후 /dev/vg00/lvol1(/stand)를 늘리고 남은 공간
으로 /dev/vg00/lvol2를 다시 만든다.
그러기 위해서 /dev/vg00/lvol1, /dev/vg00/lvol2 확인
#lvdisplay /dev/vg00/lvol1#lvdisplay /dev/vg00/lvol2
3의 내용을 바탕으로 /dev/vg00/lvol1과 /dev/vg00/lvol2 크기
확인
현재 lovl1 크기 + 추가되는 lvol1크기 = 새로운 lvol1 크기
현재 lovl2 크기 - 추가되는 lvol1크기 = 새로운 lvol2 크기
5. 임시적으로 /dev/vg00/lvol2제거 (BDRA 영역 제거)
#lvrmboot -s /dev/vg00
#lvrmboot -d lvol2 /dev/vg00
#lvremove -f /dev/vg00/lvol2
6. /dev/vg00/lvol1 크기 늘리기
#lvextend -L (새로운크기) /dev/vg00/lvol1
#extendfs -F hfs /dev/vg00/rlvol1
7. /dev/vg00/lvol2다시 만들기
#lvcreate -L (새로운 크기) /dev/vg00/lvol2
8. BDRA pointer Update
#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2
#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -v
9. Reboot
위에 명시된 의견은 Hewlett Packard Enterprise가 아닌 저자의 개인 의견입니다. 이 사이트를 사용하면 이용 약관에 동의하게되며 참여 규칙 .
뉴스 및 이벤트
© Copyright 2024 Hewlett Packard Enterprise Development LP