Just remembered a safety issue that everyone with a wall stud mounted lumber rack needs to check. A common method is to fasten two vertical members to wall studs and install something to these to lay lumber on. The loads on these wall studs is acting in a manner that is essentially trying to pull the top of the wall studs out. The top needs angle metal to bolt to the ceiling joists so the angle is essentially blocking the movement of the wall studs. If you don’t have a ceiling within reach for this you will need some other method to keep the top of the studs from coming out because with enough lumber it will.