Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # dd if=/dev/zero of=testfile bs=1M count=0 seek=1000
- 0+0 records in
- 0+0 records out
- 0 bytes (0 B) copied, 9.849e-06 s, 0.0 kB/s
- # ls -lh
- total 8.0K
- -rw-r--r-- 1 root root 1000M Dec 11 14:35 testfile
- # losetup /dev/loop0 testfile
- #
- # zpool create testpool /dev/loop0
- # zpool status testpool
- pool: testpool
- state: ONLINE
- scan: none requested
- config:
- NAME STATE READ WRITE CKSUM
- testpool ONLINE 0 0 0
- loop0 ONLINE 0 0 0
- errors: No known data errors
- # zpool export testpool
- # zpool import testpool testpool2
- # zpool status testpool
- cannot open 'testpool': no such pool
- # zpool status testpool2
- pool: testpool2
- state: ONLINE
- scan: none requested
- config:
- NAME STATE READ WRITE CKSUM
- testpool2 ONLINE 0 0 0
- loop0 ONLINE 0 0 0
- errors: No known data errors
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement