SUN
310-200 · Question #44
The /export/home file system is running out of space on c0t0d0s7. You added a new disk to the system and it is named c1t1d0. You need to move the /export/home file system to slice 7 on the new disk…
The correct answer is A. mount /dev/dsk/c1t1d0s7 /mnt ; ufsdump 0ucf - \ /dev/rdsk/c0t0d0s7 | (cd /mnt; ufsrestore xf - ). See the full explanation below for the reasoning.
Question
The /export/home file system is running out of space on c0t0d0s7. You added a new disk to the system and it is named c1t1d0. You need to move the /export/home file system to slice 7 on the new disk. Which command is used to move the data from /export/home to the new disk after booting the server to the single-user milestone?
Options
- Amount /dev/dsk/c1t1d0s7 /mnt ; ufsdump 0ucf - \ /dev/rdsk/c0t0d0s7 | (cd /mnt; ufsrestore xf - )
- Bufsdump 0ucf - /dev/rdsk/c0t0d0s7 | ufsrestore xf - \ /dev/rdsk/c1t1d0s7
- Cufsdump 0ucf - /dev/rdsk/c0t0d0s7| ufsrestore xf - \ /dev/rdsk/c1t1d0s7
- Dmount /export/home; ufsdump 0ucf - /export/home | \ ufsrestore xf - /dev/dsk/c1t1d0s7
How the community answered
(47 responses)- A83% (39)
- B11% (5)
- C4% (2)
- D2% (1)
Community Discussion
No community discussion yet for this question.