<html><body><div style="color:#000; background-color:#fff; font-family:bookman old style, new york, times, serif;font-size:12pt"><div style="margin-bottom: 14px; padding: 0px 5px 5px 0px; border: none; font-size: 14px; line-height: 1.4; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);">I have to prepare and label the drives in order to mount them.</div><h2 style="margin: 0px; padding: 3px 0px 3px 5px; border: none; font-size: 24px; font-family: Arial; color: rgb(75, 75, 75); text-rendering: optimizelegibility; line-height: 36px;">I run some commands to survey what's on the system:</h2><div style="margin-bottom: 14px; padding: 0px 5px 5px 0px; border: none; font-size: 14px; line-height: 1.4; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);">root@arun-Aspire-5742:~# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda4 177866264 4164648 164666508 3% / udev 2918600 4 2918596
1% /dev tmpfs 1170364 892 1169472 1% /run none 5120 4 5116 1% /run/lock none 2925908 216 2925692 1% /run/shm</div><div style="margin-bottom: 14px; padding: 0px 5px 5px 0px; border: none; font-size: 14px; line-height: 1.4; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);">root@arun-Aspire-5742:~# cat /proc/mounts rootfs / rootfs rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 udev /dev devtmpfs rw,relatime,size=2918600k,nr_inodes=198985,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /run tmpfs rw,nosuid,relatime,size=1170364k,mode=755 0 0 /dev/disk/by-uuid/5259827c-cc52-43f4-bc2c-7aac2f927b02 / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0 none /sys/fs/fuse/connections fusectl rw,relatime 0 0 none /sys/kernel/debug debugfs rw,relatime 0 0 none /sys/kernel/security securityfs
rw,relatime 0 0 none /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0 none /run/shm tmpfs rw,nosuid,nodev,relatime 0 0 gvfs-fuse-daemon /home/arun/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0</div><div style="margin-bottom: 14px; padding: 0px 5px 5px 0px; border: none; font-size: 14px; line-height: 1.4; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);">root@arun-Aspire-5742:~# ls /sys/block loop0 loop3 loop6 ram1 ram12 ram15 ram4 ram7 sda sr1 loop1 loop4 loop7 ram10 ram13 ram2 ram5 ram8 sdb loop2 loop5 ram0 ram11 ram14 ram3 ram6 ram9 sr0</div><div style="margin-bottom: 14px; padding: 0px 5px 5px 0px; border: none; font-size: 14px; line-height: 1.4; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);">root@arun-Aspire-5742:~# sudo blkid /dev/sda1: LABEL="System Reserved" UUID="12BA0286BA026717" TYPE="ntfs" /dev/sda2:
UUID="D8EA06E4EA06BEAE" TYPE="ntfs" /dev/sda4: UUID="5259827c-cc52-43f4-bc2c-7aac2f927b02" TYPE="ext4" /dev/sda5: UUID="8AE41BA8E41B9613" TYPE="ntfs" /dev/sda6: UUID="3A14E4D814E497E1" TYPE="ntfs" /dev/sda7: UUID="a7c2ed39-1081-4702-9aed-a42b80a07cff" TYPE="swap" /dev/sr1: LABEL="20110729_053228" TYPE="iso9660"</div><div style="margin-bottom: 14px; padding: 0px 5px 5px 0px; border: none; font-size: 14px; line-height: 1.4; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);">root@arun-Aspire-5742:~# sudo mkfs.xfs -L d1 /dev/sda2 mkfs.xfs: /dev/sda2 appears to contain an existing filesystem (ntfs).</div><h2 style="margin: 0px; padding: 3px 0px 3px 5px; border: none; font-size: 24px; font-family: Arial; color: rgb(75, 75, 75); text-rendering: optimizelegibility; line-height: 36px;">mkfs.xfs: Use the -f option to force overwrite.</h2><div style="margin-bottom: 14px; padding: 0px 5px 5px 0px; border: none; font-size: 14px;
line-height: 1.4; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);">Now, my problem is: I don't understand which device should I label as "d1"? how many devices should I label as "d1", "d2" etc.?</div><div style="margin-bottom: 14px; padding: 0px 5px 5px 0px; border: none; font-size: 14px; line-height: 1.4; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; color: rgb(75, 75, 75);">Please help me in this regard.</div></div></body></html>