- Community Home
- >
- HPE Community, Korea
- >
- HP-UX
- >
- mirroring된 lv를 reduce하고 새로 lv를 추가하고 싶습니다.
HP-UX
1748110
회원
3877
온라인
108758
솔루션
포럼
범주
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
블로그
정보
커뮤니티 언어
언어
포럼
블로그
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 06-20-2004 10:00 PM
날짜: 06-20-2004 10:00 PM
mirroring된 lv를 reduce하고 새로 lv를 추가하고 싶습니다.
기존에 lvol5번이 사이즈를 너무 크게 잡아서 줄이고 새로 lvol를 만들어서 로그 관리용도로 사용할려고 합니다.
그래서 사용법을 적어봤는데 제대로 맞는지 확인부탁드립니다.
--bdf---
/dev/vg00/lvol5 20971520 288316 20360088 1% /home1
--------
umount /home1
lvreduce -m 0 /dev/vg00/lvol5 /dev/dsk/c2t2d0
lvreduce -L 15480 /dev/vg00/lvol5
newfs -F vxfs /dev/vg00/rlvol5
lvcreate -L 5000 /dev/vg00/lvol7
newfs -F vxfs /dev/vg00/rlvol7
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c2t2d0
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c2t2d0
mount /dev/vg00/lvol5 /home1
mkdir /log
mount -F vxfs -o delaylog /dev/vg00/lvol7 /log 0 2
vgcfgbackup -u /dev/vg00
그래서 사용법을 적어봤는데 제대로 맞는지 확인부탁드립니다.
--bdf---
/dev/vg00/lvol5 20971520 288316 20360088 1% /home1
--------
umount /home1
lvreduce -m 0 /dev/vg00/lvol5 /dev/dsk/c2t2d0
lvreduce -L 15480 /dev/vg00/lvol5
newfs -F vxfs /dev/vg00/rlvol5
lvcreate -L 5000 /dev/vg00/lvol7
newfs -F vxfs /dev/vg00/rlvol7
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c2t2d0
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c2t2d0
mount /dev/vg00/lvol5 /home1
mkdir /log
mount -F vxfs -o delaylog /dev/vg00/lvol7 /log 0 2
vgcfgbackup -u /dev/vg00
3 응답 3
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 06-20-2004 10:00 PM
날짜: 06-20-2004 10:00 PM
mirroring된 lv를 reduce하고 새로 lv를 추가하고 싶습니다.
lvreduce -L 15480 /dev/vg00/lvol5 는 아주 위함합니다.
혹시 data가 있으면 깨질수 있습니다.
lvreduce는 volume을 줄이는 것으로 data가 깨질수 있습니다.
만약저라면...
umount /home1
lvreduce -m 0 /dev/vg00/lvol5 /dev/dsk/c2t2d0
/dev/vg00/lvol5 logical volume을 backup합니다.
lvreduce -L 15480 /dev/vg00/lvol5
newfs -F vxfs /dev/vg00/rlvol5
bakcup받은 logical volume을 restore합니다.
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c2t2d0
mount /dev/vg00/lvol5 /home1
이렇게 하시면 됩니다.
그럼~~
혹시 data가 있으면 깨질수 있습니다.
lvreduce는 volume을 줄이는 것으로 data가 깨질수 있습니다.
만약저라면...
umount /home1
lvreduce -m 0 /dev/vg00/lvol5 /dev/dsk/c2t2d0
/dev/vg00/lvol5 logical volume을 backup합니다.
lvreduce -L 15480 /dev/vg00/lvol5
newfs -F vxfs /dev/vg00/rlvol5
bakcup받은 logical volume을 restore합니다.
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c2t2d0
mount /dev/vg00/lvol5 /home1
이렇게 하시면 됩니다.
그럼~~
위에 명시된 의견은 Hewlett Packard Enterprise가 아닌 저자의 개인 의견입니다. 이 사이트를 사용하면 이용 약관에 동의하게되며 참여 규칙 .
뉴스 및 이벤트
© Copyright 2024 Hewlett Packard Enterprise Development LP