1. A method for expanding a storage capacity of an electronic apparatus, comprising:searching, by a processor, at least one storage equipment on a network by using a network card and logging in the searched storage equipment by using an iSCSI, wherein the iSCSI conforms transmission control protocol/internet protocol;
establishing, by the processor, a virtual disk and attaching a volume of at least one disk in each of the searched storage equipment to the virtual disk as a physical volume of the electronic apparatus;
transforming, by the processor, the physical volume into a logical volume and establishing, by the processor, a file system of the logical volume for providing the electronic apparatus to access the logical volume,
wherein the step of logging in the searched storage equipment by using the iSCSI comprises:
obtaining, by the processor, a storage information of each of the storage equipment and accordingly sending, by the processor, instructions to the storage equipment to set each of the storage equipment to simulate a target of the iSCSI; and
opening, by the processor, an initiator of the iSCSI to connect the storage equipment simulating the target of the iSCSI.